Function yapb::prefix::binary

source ·
pub fn binary(x: f64) -> (f64, Option<&'static str>)
Expand description

Given an exact value x, return the same value scaled to the nearest lesser binary prefix, and the prefix in question.