Skip to main content

DIGITS_MAX

Constant DIGITS_MAX 

Source
pub const DIGITS_MAX: usize = _; // 21usize
Expand description

A buffer big enough for the digits of any i64 or u64, sign included.

Twenty digits for 18446744073709551615 and one more for the minus sign that -9223372036854775808 needs.