// Using arbitrary rounding, which might lead to loss of precision let rounded = collateral.try_round_u64()?;
// Using floor rounding for consistent and predictable behavior let rounded = collateral.try_floor_u64()?;
Last updated 5 days ago