-
[RESOLVED] To Round down
Hey everyone.
I need to round 32.779 down to 32, I think, No!, [I know!] there is a better way than Split.:eek2:
:blush:
Code:
Dim num!
num = 32.779
Me.Caption = CInt(num) 'returns 33
Me.Caption = Round(num) 'returns 33
Me.Caption = Format(num, "###") 'returns 33
Me.Caption = Split(num & ".", ".")(0) 'returns 32
Just kane think of it.:sick::confused:
It's been a big day.:D
-
Re: To Round down
-
Re: To Round down
Quote:
Originally Posted by
FireXtol
Int() or Fix()
That's it, :cool: LOL !! yeah thanks :thumb:
Thanks for your help!
5ms