Constant solana_exchange_program::exchange_state::SCALER [−][src]
pub const SCALER: u64 = 1000;
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