RE: decimal place

2003-02-27 Thread Wagner, David --- Senior Programmer Analyst --- WGO
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

Re: decimal place

2003-02-27 Thread Stefan Lidman
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

decimal place

2003-02-27 Thread Christopher M Burger
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]