enoch100
asked on
Doing Heavy Math
Is there a way to overload the math operations. In other words can I make the progra do all of it's math using floats or doubles or bytes? Is there a way to control that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
here's an example
dim i as long
i = 1000 * 100 'gives an errro
i = 1000 * 1000&
so suffix your numbers
10% - integer
1000& - long integer
3.14159265# - double
you can convert types using CLng, CInt,Cdbl etc.
ASKER