Anyway I noticed though I started with number 2, it outputs as 2.000000, 2.100000, 2.200000.... 3.000000 and so on.
I want the format to display 2,2.1,2.2,....3
Edit: Found the round function
Code: Select all
msgbox % Round(some_num,1)
That's ok for the majority of my purposes, but what if I want to display 3.142 as 3.142 (and not 3.1), but 3.1 as 3.1, 3.15 as 3.15 (and not 3.1), 3 as 3 (and not 3.0), basically displaying the full number but not any unnecessary trailing zeroes