45,333
edits
No edit summary |
No edit summary |
||
Line 877: | Line 877: | ||
-- Try looking up the next power of ten. | -- Try looking up the next power of ten. | ||
upper_num = make_greater_power_of_ten(1) | upper_num = make_greater_power_of_ten(1) | ||
if upper_num == next_num then | if upper_num == next_num or cur_num == "0" then | ||
upper_num = nil | upper_num = nil | ||
else | else |