Function std::num::flt2dec::round_up
[−]
[src]
pub fn round_up(d: &mut [u8], n: usize) -> Option<u8>
Unstable (
flt2dec
): internal routines only exposed for testing
When d[..n]
contains decimal digits, increase the last digit and propagate carry.
Returns a next digit when it causes the length change.