Skip to main content

round_decimals

Function round_decimals 

Source
pub fn round_decimals(digits: &[u8]) -> i64
Expand description

TeX’s round_decimals (tex.web §102): the fraction .d₁d₂… of the decimal digits digits (the first 17 count), in scaled points, rounded half up.