DIGITS

Constant DIGITS 

1.0.0
pub const DIGITS: u32 = f64::DIGITS; // 15u32
๐Ÿ‘ŽDeprecating in a future version: replaced by the DIGITS associated constant on f64
Expand description

Approximate number of significant digits in base 10. Use f64::DIGITS instead.

ยงExamples

// deprecated way
let d = std::f64::DIGITS;

// intended way
let d = f64::DIGITS;