"0.000", trimming trailing non-zeros and adding back trailing zeros.
Fix both the original bug, which was caused by walking off the beginning
of the fractional part of the value and into the integer part, as well
as the new bug, by terminating the trailing zero stripping when the first
non-zero character is encountered. Also, correctly calculate the number
number of trailing zeros that should potentially be removed if the format
contains trailing text characters.
Bump PORTREVISION.
Reviewed by: send-pr@oldach.net (Helge Oldach)
suffix" convention. sc will also prepend a hash character which will
make the backup files go out of common directory sort order.
- A value such as 40 will be displayed wrongly if displayed with a
"0.00 EUR" format (i.e. more than one or two characters alpha text
after the number format).
- 8-bit characters (according to usual locale conventions) should be
allowed.
PR: 32017
Submitted by: Helge Oldach <send-pr@oldach.net>