Thread: Rounding Errors
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
animal1881[_6_] animal1881[_6_] is offline
external usenet poster
 
Posts: 1
Default Rounding Errors

Hello all!

I have a rounding issue. I have numbers that are stored in an array a
singles. I want to round them to 1 decimal place "00.0". The way
usually round is like this:

Sub test()
MsgBox (Int(50.599 * 10) * 0.1 & " " & 50.6)
End Sub

But try this yourselves and you will see that the message box says 50.
50.6.

Does anyone know a better method of accuratly rounding

--
Message posted from http://www.ExcelForum.com