Constant solana_exchange_program::exchange_state::SCALER[][src]

pub const SCALER: u64 = 1000;
Expand description

Fixed-point scaler, 10 = one base 10 digit to the right of the decimal, 100 = 2, … Used by both price and amount in their fixed point representation