MySQL 列类型 'Double' - 删除小数点后的数字

MySQL column type 'Double' - removes the digits after decimal

我需要将如下所示的值插入到 Double 类型的列中

1.0
1.23
12.345
1234.5678
123456.1234567891

当我尝试插入 123456.1234567891 时,它只插入了 123456.123456789(最后缺少“1”)

我该如何解决这个问题?

双精度只有 about 16 digits(52 位)。我的猜测是末尾的“1”超出了该精度范围并且正在丢失。不移动到不同的类型,您将无法存储它。