diff --git a/src/apps/gps.lua b/src/apps/gps.lua index e57925f..cc082e7 100644 --- a/src/apps/gps.lua +++ b/src/apps/gps.lua @@ -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))