[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Convert to float
- Subject: [ale] Convert to float
- From: fletch at phydeaux.org (Fletch)
- Date: Mon Apr 5 17:07:59 2004
- In-reply-to: <1081192923.20928.30.camel@devel> (Chris Fowler's message of "05 Apr 2004 15:22:03 -0400")
- References: <1081192923.20928.30.camel@devel>
It should "just work", so long as it's in a format that perl can
translate into a number and you use it in a numeric context. Really
the only way to "cast" something in perl to a number is to do
something like `0.0+$foo;'; but usually that's unnecessary as perl
will do the right thing on its own.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U