hyperliquid_rust_sdk_abrkn

Function truncate_float

Source
pub fn truncate_float(float: f64, decimals: u32, round_up: bool) -> f64