Skip to main content

round_4

Function round_4 

Source
pub fn round_4(val: f64) -> f64
Expand description

Round to four decimal places. This function uses f64::round() which rounds halfway cases away from 0.0.