Quote Originally Posted by jcis View Post
Im not sure if I understand, you mean just this?
Code:
Private Function GetMiltiply(pNumber1 As Double, pNumber2 As Double) As String
    GetMiltiply = Format(pNumber1 * pNumber2, 0)
End Function
Code:
MsgBox GetMiltiply(1.23456789123457E+107, 9.87654321987654E+107)
No, he wants the actual values. Doubles are only approximations. For example:
Code:
Public Sub Test()
    Dim dblNumber As Double
    
    dblNumber = 1.23456789123457E+107
    If dblNumber + 1 = dblNumber Then MsgBox "Epic Fail"
End Sub
It's never a good thing when your math ends up showing that a + 1 = a.