Module money

Module money 

Source
Expand description

Money type for representing currency amounts

Internally stores amounts in cents (i64) to avoid floating-point precision issues. Provides safe arithmetic operations and formatting.

Structs§

Money
Represents a monetary amount stored as cents (hundredths of the currency unit)

Enums§

MoneyParseError
Error type for money parsing