Well. Good enough for me. As long as you’ve got your app working I’m happy.
-Ed
Well. Good enough for me. As long as you’ve got your app working I’m happy.
-Ed
hmm you have to run a view meters with your device because the GPS doesn’t recognize small movements…
Hey… I want you to ask a quick question without starting a new topic…
Is it possible to limit the characters of a label / display.newText ( to display only 2 or 3 places behind the comma )
and to limit the characters of a user input / native.newTextField?
Thankssssss… I am feeling bad for asking so many questions
Yes, you can use string.format() for that: https://docs.coronalabs.com/api/library/string/format.html
For example, lets say you wanted to limit the decimal places to 3 for a float:
local text = string.format("%.3f", math.pi ) print( text ) print( math.pi )
Thank you very much!!!