S
Savvoulidis Iordanis
I can't believe that ACCESS doesn't have a round function that actually
ROUNDS.
The one that exists does not work OK.
The one that I found on the news has some problems and follows:
Public Function RoundIt(adbl_number As Double, ai_decimals As Integer) As
Double
RoundIt = CInt(adbl_number * (10 ^ ai_decimals) + 0.5) / (10 ^
ai_decimals)
End Function
It rounds the number 2.94 to 3 using one decimal and not to 2.9
Is there any mathematician out there to help?
ROUNDS.
The one that exists does not work OK.
The one that I found on the news has some problems and follows:
Public Function RoundIt(adbl_number As Double, ai_decimals As Integer) As
Double
RoundIt = CInt(adbl_number * (10 ^ ai_decimals) + 0.5) / (10 ^
ai_decimals)
End Function
It rounds the number 2.94 to 3 using one decimal and not to 2.9
Is there any mathematician out there to help?