I have an error i don't understand why
I have a function i didn't touch (without error) and now it's didn't work... My function has just on line
I tried the function CDbl() and use the double type variable
I get an Overflow error
Number = 1341.0937961001
NbDecimal = 2
Function Truncate(Number As Double, NbDecimal As Integer) As Double
Truncate = Int(Number * 10 ^ NbDecimal) / (10 ^ NbDecimal)
End Function 'Error here : Overflow
I need help