Fixed floating point formatting
When decimal_prec is 0 and the value is negative and needs rounding subtract 1, instead of adding 1 When decimal_prec > 0 round before printing the integer part, instead of after |
---|
|
platform/source/minimal-printf/mbed_printf_implementation.c |
---|