mysql icon indicating copy to clipboard operation
mysql copied to clipboard

Float Truncate

Open beinnova opened this issue 11 years ago • 5 comments

Hi, I have problem with float numbers. My table row is set float but when i try to insert a float number i see in a only decimal part.

beinnova avatar May 13 '15 15:05 beinnova

Can you provide some more information? What does your query look like? Table schema?

dougwilson avatar May 13 '15 15:05 dougwilson

Hi, My query is Luke ' INSERT INTO table (col_1, col_2, col_n) VALUES (val_1, val_2, val_n). The row where I find that problem are setted float.

beinnova avatar May 13 '15 15:05 beinnova

Sure, but what is the table schema? And what is the actual JavaScript code you are using to perform the insert?

dougwilson avatar May 13 '15 15:05 dougwilson

Ok, I'm sorry it's my problem. I forgot to set decimal range :). Thanks for all and very compliments for the module.

beinnova avatar May 14 '15 07:05 beinnova

Ah, glad you figured it out :)

dougwilson avatar May 14 '15 13:05 dougwilson