Skip to main content

render_exact_decimal

Function render_exact_decimal 

Source
pub fn render_exact_decimal(unscaled: i128, scale: u16) -> String
Expand description

Render an exact decimal unscaled / 10^scale, keeping the scale (trailing zeros): (200, 2)2.00, (1, 1)0.1, (-15, 1)-1.5.