Skip to main content

USD_MICROS_PER_DOLLAR

Constant USD_MICROS_PER_DOLLAR 

Source
pub const USD_MICROS_PER_DOLLAR: u64 = 1_000_000;
Expand description

USD micro-units per dollar. All internal cost bookkeeping stays in micro-USD (u64) to keep every arithmetic step in exact integers; only wire-facing serialization converts to floating point.