MySQL Forums
Forum List  »  InnoDB

Problem with float
Posted by: fatra chandra
Date: November 15, 2005 04:19AM

Dear All,
I create table T1 (amount float(17,5));
then I inset amount with insert T1 Amount values 777000500. then commit.

when I select * from T1. The result 777000496. Why the amount change ?
If I use amount < 10,000,000. the result is ok.

Any body can help me ?.

Thanks
Fatra

Options: ReplyQuote


Subject
Views
Written By
Posted
Problem with float
1918
November 15, 2005 04:19AM
1425
November 15, 2005 04:54AM


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.