I have been searching the forum and the documents but somehow the info was still not clear to me.
I like to format the GPS output in order to get only 2 decimals in the "lblAltitude" view
B4X:
lblAltitude.Text ="Alt = " & Location1.Altitude
I have been playing with this but always got an error
Log(NumberFormat2(12345.67, 0, 3, 3, false)) '"12345.670"
the not corrected value has some 10 digits after the comma displayed in the lbl View
The problem is, that it stretches the View out of proportian as it turncates in to multiple lines.