Currency class

Pascal currency math/currency functions

Properties

hashCode int
The hash code for this object.
no setteroverride
pasc BigInt?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isVague() bool
Gets a value indicating that the current value has more decimals than allowed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFixed(BigInt x) String
toMolina() String
Get pascal value as string
toPositive() Currency
Gets a positive variant of the value. If the value is already positive, the current instance will be returned, else a new instance.
toString() String
A string representation of this object.
override
toStringOpt({dynamic decimals = 4}) String
Gets an optimized pascal value with less zeros as possible.

Operators

operator +(Currency c) Currency
Arithmetic operators
operator -(Currency c) Currency
operator <(dynamic o) bool
operator <=(dynamic o) bool
operator ==(Object o) bool
Comparative operators
override
operator >(dynamic o) bool
operator >=(dynamic o) bool