The ToString() function should automatically truncate trailing 0's in a float.

I see; in your case, would you like to remove all trailing zeroes, or truncate to X decimal places?