MySQL Forums
Forum List  »  Newbie

Bug in the floating point value
Posted by: mani maran
Date: April 08, 2009 01:11AM

i am facing problem when insert the floating point "1.0" in the tables, it is converted as "1" , is there anyway to store the exact floating point values?
my intention is to insert the values like "1.0" or "1.10" or "1.110" without any restriction.

description of the table is

Create Table: CREATE TABLE `chips` (
`chip_id` int(11) NOT NULL auto_increment,
`chip_version` float default NULL,

can anyone please help me.

Options: ReplyQuote

Written By
Bug in the floating point value
April 08, 2009 01:11AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.