lexical_util::format

Constant NO_EXPONENT_WITHOUT_FRACTION

Source
pub const NO_EXPONENT_WITHOUT_FRACTION: u128 = _; // 512u128
Expand description

Exponent without a fraction component is not allowed.

This only checks if a decimal point precedes the exponent character. To require fraction digits or exponent digits with this check, please use the appropriate flags.