Hey everyone.
I need to round 32.779 down to 32, I think, No!, [I know!] there is a better way than Split.
Just kane think of it.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
It's been a big day.![]()








Reply With Quote