Topic: Three-figure bearings - how to display leading zeros?
I have a parameter n to represent the bearing, going from 0 to 360.
I have a text box displaying the value of n : Bearing = %(n)
But how can I get it to display "00"n when n < 10 and "0"n when 10 < n < 100?