Hi all,

This may be an easy one and I'm just not understanding formatting...

I have calculations which give numbers like:

0.037999999
9.899999619
4.900000005
0.349999994

I'll be printing (or writing) data to a file using vba
But the numbers I want are:

0.038
9.9
4.9
0.35

Is there an obvious way to do this? I note when the numbers are in columns then the values I want show properly unless I widen the column. So Excel is doing some internal formatting in that case.

Thanks in advance!
-Jim