http://www.perlmonks.org?node_id=414047


in reply to Re: numeric values acting funny
in thread numeric values acting funny

Your best bet is to restructure the formulas so the subtraction isn't necessary.

This is I believe impossible given that the task rotates around money and spending some quantum of the available. Using integer math is probably a more practical solution. Math::Currency provides a nice transparent implementation that simulates dollars and cents, pounds and pence.....

cheers

tachyon