I am trying to create a float value with many decimals. My table
CREATE TABLE number_type_check (
id INT(10) NULL DEFAULT NULL,
floatNumber FLOAT(18,5) NULL DEFAULT NULL
)
When I run my query:
INSERT INTO number_type_check (floatNumber) VALUES (987654321.98765);
It returns 987654336.00000
not 987654321.98765