Update gps.lua

This commit is contained in:
Ale2610 2015-09-16 15:39:44 +02:00
parent fa2214de5d
commit 89fe78d413

View file

@ -2,4 +2,4 @@ local x, y, z = gps.locate(0)
if not x then
x, y, z = "?", "?", "?"
end
sPhone.winOk("X Y Z", x.." "..y.." "..z)
sPhone.winOk("X Y Z", math.ceil(x).." "..math.ceil(y).." "..math.ceil(z))