|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
An exact decimal: a math::Rational whose DecimalPlaces are the value's declared places. More...
#include <value.hpp>
Public Member Functions | |
| bool | operator== (Decimal const &other) const noexcept |
| Equality of magnitude and places. | |
Public Attributes | |
| math::Rational | value |
| The exact value, with its declared places. | |
An exact decimal: a math::Rational whose DecimalPlaces are the value's declared places.
The places are part of the value: two decimals equal in magnitude and different in places compare unequal, because they display differently. expr/1's eq compares magnitudes.
|
inlinenodiscardnoexcept |
| math::Rational morph::ui::Decimal::value |