Skip to main content

render

Function render 

Source
pub fn render(coef: &str, scale: u32) -> String
Expand description

A decimal in canonical text form: render("120", 2) == "1.20", render("-5", 3) == "-0.005". A scale of 0 prints no point.