Module zec

Source
Expand description

ZEC amount formatting.

The f64 values returned by this type should not be used in consensus-critical code. The values themselves are accurate, but any calculations using them could be lossy.

Structs§

Zec
A wrapper type that formats Amounts as ZEC, using double-precision floating point.

Constants§

MAX_ZEC_FORMAT_PRECISION
The maximum precision of a zatoshi in ZEC. Also used as the default decimal precision for ZEC formatting.