Tell me why I get an overflow error using this code:
Private Sub Command1_Click()
Dim Entry As Double
Dim Result As Double
Entry = Val(Text1.Text)
Result = Entry / (1000 * 1000)
End Sub
But no overflow error using this code:
Private Sub Command1_Click()
Dim Entry As Double
Dim Result As Double
Entry = Val(Text1.Text)
Result = Entry / (1000000)
End Sub
Thanks for taking your time to read this.
--
Jay Francis
Nebraska Game and Parks Commission
2200 North 33rd
Lincoln, Nebraska 68503
(402)471-5589