This seems to work, although there are some odd line returns and '0' is being returned as '0.' Still, I can work around that, THANKS!
|---------+----------------------------> | | zsdc <[EMAIL PROTECTED]>| | | | | | 08/21/2003 03:28 | | | PM | | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: [EMAIL PROTECTED] | | Subject: Re: trouble with math... driving me nuts. | >--------------------------------------------------------------------------------------------------------------| [EMAIL PROTECTED] wrote: > print 37.75 - 33.67 - 4.08 ; > <STDIN>; > > I find these things all the time. Is there a particular module I can use > to fix these things? Take a look at Math::BigFloat, it's an arbitrary length float math package: #!/usr/bin/perl -wl use Math::BigFloat; $x = 37.75; print $x - 33.67 - 4.08; $x = Math::BigFloat->new('37.75'); print $x - 33.67 - 4.08; > ****** CONFIDENTIALITY NOTICE ****** > NOTICE: This e-mail message and all attachments transmitted with it may > contain legally privileged and confidential information intended solely for > the use of the addressee. OK, I won't tell anyone. -zsdc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ****** CONFIDENTIALITY NOTICE ****** NOTICE: This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]