From 89fe78d413f3069048594062c3b1038fbfb173ed Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Wed, 16 Sep 2015 15:39:44 +0200 Subject: [PATCH] Update gps.lua --- src/apps/gps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))