T
turnerje
I have a macro that is calculating a bill, based on large numbers
(15,654,879 for example) by multiplying that large number by a decimal
(.08608). My problem is my object is not keeping the decimals, which
are crucial. The object is dimensioned as "long".
For example,
iVal = iVal * .8608 (for this case iVal = 388)
iVal returns to the sheet "33", not 33.39904, or any decimals at all.
What can I do?
Thanks in advance
Justin
(15,654,879 for example) by multiplying that large number by a decimal
(.08608). My problem is my object is not keeping the decimals, which
are crucial. The object is dimensioned as "long".
For example,
iVal = iVal * .8608 (for this case iVal = 388)
iVal returns to the sheet "33", not 33.39904, or any decimals at all.
What can I do?
Thanks in advance
Justin