Function core::num::flt2dec::round_up

source ·
pub fn round_up(d: &mut [u8]) -> Option<u8>
🔬This is a nightly-only experimental API. (flt2dec)
Expand description

When d contains decimal digits, increase the last digit and propagate carry. Returns a next digit when it causes the length to change.