MySQL Forums
Forum List  »  Newbie

Re: Differing Decimals
Posted by: Peter Brawley
Date: March 10, 2021 06:24PM

Double will get you rounding errors. You really want that?

Format(123.45678,3) -. 123.456.

Likewise with round(). See those entries in the manual.

Options: ReplyQuote


Subject
Written By
Posted
March 10, 2021 05:38PM
Re: Differing Decimals
March 10, 2021 06:24PM
March 11, 2021 04:48PM
March 11, 2021 05:25PM


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.