Function concision_core::round_to

source ·
pub fn round_to<T: Float>(val: T, decimals: usize) -> T
Expand description

Round the given value to the given number of decimal places.