Skip to main content

format_double_java

Function format_double_java 

Source
pub fn format_double_java(d: f64) -> String
Expand description

Format an f64 as a short round-trippable decimal: plain notation when 1e-3 <= |d| < 1e7, otherwise scientific notation with uppercase E.