format

Function format 

Source
pub fn format<F: SupportedFloat>(value: F) -> String
Expand description

Format a floating point value using hexfloat syntax.

ยงExamples

assert_eq!(hexfloat2::format(100.0f32), "0x1.9p6");