[MDEV-28900] Wrong value on conversion of '1.0.0' to INT Created: 2022-06-20 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This script:
returns the following output:
The value of 10 is wrong. The expected result is 1. The problem is not repeatable with DOUBLE or DECIMAL data types. |