MySQL Forums
Forum List  »  General

Re: Floating Point and Platforms Question
Posted by: Sergio Minervini
Date: October 10, 2019 06:10PM

I have read that Decimal types store numbers as text, and not a numeric type.

-Does this mean it is impossible to use the arithmetic operators +,-,*,/,% on Decimal, or not?

-If it is possible to use "operators" on the Decimal type itself, how is this done? Can you furnish me with an example that covers all five operators, between two numbers stored in a Table, of type Decimal, kindly, please?

Options: ReplyQuote

Written By
Re: Floating Point and Platforms Question
October 10, 2019 06:10PM

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.