| 
#include <VariantData.h>
Public Member Functions | |
| MoneyData (int64_t quantity, uint8_t scale) | |
| operator double () const | |
| operator int64_t () const | |
| operator int32_t () const | |
| operator bool () const | |
Public Attributes | |
| int64_t | quantity | 
| Integer value.  | |
| uint8_t | scale | 
| Scale.  | |
Static Public Attributes | |
| static std::array< int64_t, 16 > | dividers | 
| Dividers that help formatting money data.  | |
Money data (internal).
A combination of integer quantity and scale - positive integer presenting power of ten for divider. A money value is quantity / 10^(scale)
      
  | 
  inline | 
Constructor
| quantity | Money value | 
| scale | Money value scale (signs after decimal point) | 
      
  | 
  explicit | 
Convert to bool value
      
  | 
  explicit | 
Convert to double value
      
  | 
  explicit | 
Convert to integer value
      
  | 
  explicit | 
Convert to integer value