[RESOLVED]Re: help with adding strings that are floating point numbers

2006-02-14 Thread Ravi Malghan
Thanks --- JeeBee <[EMAIL PROTECTED]> wrote: > > Just do $result = $var1 + $var2; > int returns the integer part of a number, > see: perldoc -f int > > JeeBee > > On Tue, 14 Feb 2006 07:04:18 -0800, Ravi Malghan > wrote: > > > Hi: I think this is very trivial, but just can't > seem to figure

Re: help with adding strings that are floating point numbers

2006-02-14 Thread JeeBee
Just do $result = $var1 + $var2; int returns the integer part of a number, see: perldoc -f int JeeBee On Tue, 14 Feb 2006 07:04:18 -0800, Ravi Malghan wrote: > Hi: I think this is very trivial, but just can't seem to figure it out. I > have two strings $var1 = "0.12" and $var2 = "0.3". I want t