MySQL Forums
Forum List  »  PHP

Re: Precision of "float" type
Posted by: Peter Brawley
Date: February 22, 2006 02:31PM

If you need precision (eg if it's money), use DECIMAL. Float & Double values are approximate and will round to the precision you specify.

Options: ReplyQuote


Subject
Written By
Posted
February 22, 2006 06:38AM
Re: Precision of "float" type
February 22, 2006 02:31PM
February 23, 2006 04:47AM


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.