G
Guest
Since the last update for office 2003, i've been having issues with the int()
function in vb (version 9972 vba retail 6.4.992)
The accounting software that the business i work for writes for dozens of
clients regularly uses x = (int(x*100))/100 to ensure that there are no
fractional cents on the end of prices. It works wonderfully, until one of a
number of values are used. 8.95, 9.95, 2094.95, and a host of other seemingly
random numbers. For these, the end value of x computes as 8.94, 9.94 etc. Is
this something other people have come across??
function in vb (version 9972 vba retail 6.4.992)
The accounting software that the business i work for writes for dozens of
clients regularly uses x = (int(x*100))/100 to ensure that there are no
fractional cents on the end of prices. It works wonderfully, until one of a
number of values are used. 8.95, 9.95, 2094.95, and a host of other seemingly
random numbers. For these, the end value of x computes as 8.94, 9.94 etc. Is
this something other people have come across??