Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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 -- turnerje ------------------------------------------------------------------------ turnerje's Profile: http://www.excelforum.com/member.php...o&userid=25694 View this thread: http://www.excelforum.com/showthread...hreadid=474906 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF formula-simple question; simple operator | Excel Discussion (Misc queries) | |||
Simple Simple Excel usage question | Excel Discussion (Misc queries) | |||
Simple VBA question | Excel Programming | |||
simple question? | New Users to Excel | |||
simple question, hopefully a simple answer! | Excel Programming |