Skip to main content

short_pair

Function short_pair 

Source
pub fn short_pair(value: f64, limit: f64, ok: bool) -> (String, String)
Expand description

A check’s value and limit as short writes them; a failing one that would read the same gets as many digits as it takes to tell them apart (1.0004 against 1.000).