Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Since your decimals seem to always have exactly two fractional digits, it might suffice to "translate" everything into an 100x integer space.
So you might write
and forget about the *100 multipliers in the following code. Of course, you'll have to add back the 'decimal dots' when outputting the results. --- Krambambuli In reply to Re: Decimal numbers calculations done inconsistently: Odd behavior!
by Krambambuli
|
|