Content deleted Content added
missed one |
trunc, don't round Tag: Reverted |
||
Line 611:
local northing = tm.northing%100000
local grid = pow(10.0,5.0-prec)
easting = floor(easting/grid
northing = floor(northing/grid
local fmt = '%0'..prec..'d'
local e = mw.ustring.format(fmt, easting)
|