|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A number taken apart for arithmetic: its exact value, whether it is an int, and its unit. More...
#include <expression.hpp>
Public Attributes | |
| math::Rational | value |
| The exact value. | |
| bool | integer = false |
| Whether it is an int. | |
| std::string const * | unit = nullptr |
| The unit of a quantity; nullptr for a plain number. | |
A number taken apart for arithmetic: its exact value, whether it is an int, and its unit.
Definition at line 1145 of file expression.hpp.
| math::Rational morph::ui::detail::Number::value |
The exact value.
Definition at line 1147 of file expression.hpp.
| bool morph::ui::detail::Number::integer = false |
Whether it is an int.
Definition at line 1149 of file expression.hpp.
| std::string const* morph::ui::detail::Number::unit = nullptr |
The unit of a quantity; nullptr for a plain number.
Definition at line 1151 of file expression.hpp.