Expand description
This provides a simple type to calculate with monetary values.
Modules§
DisplayImplementation.- Implementations of standard operators:
Add,Sub,Mul,Div
Structs§
- Represents currency through an optional symbol and amount of coin.
- Implements
Displaywith the currency symbol at the end. - Implements
Displaywith the currency symbol at the front.
Type Aliases§
- Symbol of a currency