Module money

Module money 

Source
Expand description

Represents an amount of money in a specified currency denomination.

Structs§

Money
Represents an amount of money in a specified currency denomination.

Constants§

MONEY_MAX
The maximum valid money amount that can be represented.
MONEY_MIN
The minimum valid money amount that can be represented.

Statics§

MONEY_RAW_MAX
The maximum raw money integer value.
MONEY_RAW_MIN
The minimum raw money integer value.

Functions§

check_positive_money
Checks if the money value is positive.

Type Aliases§

MoneyRaw