Module:Math: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
en>Dragons flight
(trailing dot)
en>Dragons flight
m (really fix trailing periods)
Line 136: Line 136:
if current_precision < precision then
if current_precision < precision then
if current_precision <= 0 then
if current_precision <= 0 then
if precision >= 0 then
if precision > 0 then
local zero_sep = lang:formatNum( 1.1 );
local zero_sep = lang:formatNum( 1.1 );
formatted_num = formatted_num .. zero_sep:sub(2,2);
formatted_num = formatted_num .. zero_sep:sub(2,2);