hey, can anyone show me how to setprecision in flash mx 2004?

This is what I want to do:
I want to show the mileage of a car climb as you progress... but the only problem is that it shows the decimals too, and all I want it to do is show the decimals to the tenth place, but it keeps jumping and showing it to the thousandths and so forth.

example: I want the text to display like this 1.8 and not like this 1.899999999999999999999

I know that setprecision is C++ but can it be done in Flash? can anyone help?