Modul:Math: Unterschied zwischen den Versionen
K
precision truncation issue
K (silly signs...) |
K (precision truncation issue) |
||
Zeile 117: | Zeile 117: | ||
local rescale = math.pow( 10, precision ); | local rescale = math.pow( 10, precision ); | ||
value = math.floor( value * rescale + 0.5 ) / rescale; | value = math.floor( value * rescale + 0.5 ) / rescale; | ||
current_precision = z._precision( value ); | |||
end | end | ||