Christopher M Burger wrote:
> I have two numbers 100.00 and 50.00 when I subtract them I get 50 but
> I want
> 50.00 how do I tell it to keep the decimal place?
>
> Any help would be appreciated.
>
> Christopher Burger
Depends on how you are outputing the result to
Hello
Christopher M Burger wrote:
>
> I have two numbers 100.00 and 50.00 when I subtract them I get 50 but I want
> 50.00 how do I tell it to keep the decimal place?
$ perl -we 'printf "%.2f\n", 50;'
perldoc -f printf
perldoc -f sprintf
/Stefan
--
To unsubscr
I have two numbers 100.00 and 50.00 when I subtract them I get 50 but I want
50.00 how do I tell it to keep the decimal place?
Any help would be appreciated.
Christopher Burger
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]