RE: CDBL function

2003-02-27 Thread Dave Watts
> I thought Val() returned an integer... but then it's not > something I use frequently. No, Val returns a number from a string that begins with a value that could be considered numeric. Because of the typeless nature of CF, that number may be a floating point or an integer. For example, the code

RE: CDBL function

2003-02-27 Thread S . Isaac Dealey
I thought Val() returned an integer... but then it's not something I use frequently. >> > > What does CDBL() do in ASP ? >> > >> > Strictly speaking, it's a VBScript function. It's a >> > casting function, which takes an expression and returns >> > a Variant of subtype Double: >> >> Well, I guess

RE: CDBL function

2003-02-27 Thread Dave Watts
> > > What does CDBL() do in ASP ? > > > > Strictly speaking, it's a VBScript function. It's a > > casting function, which takes an expression and returns > > a Variant of subtype Double: > > Well, I guess he wants (pause for dramatic effect)... > evaluate()? Or, indeed, nothing at all as CFML

RE: CDBL function

2003-02-27 Thread S . Isaac Dealey
That would make the CF equivalent numberformat(), decimalformat(), CDBL() (if it's in a vbscript script block) or a javascript function? >> What does CDBL() do in ASP ? > Strictly speaking, it's a VBScript function. It's a > casting function, which > takes an expression and returns a Variant of s

Re: CDBL function

2003-02-27 Thread Thomas Chiverton
On Thursday 27 Feb 2003 14:59 pm, Dave Watts wrote: > > What does CDBL() do in ASP ? > > Strictly speaking, it's a VBScript function. It's a casting function, which > takes an expression and returns a Variant of subtype Double: Well, I guess he wants (pause for dramatic effect)... evaluate() ? Or

RE: CDBL function

2003-02-27 Thread Dave Watts
> What does CDBL() do in ASP ? Strictly speaking, it's a VBScript function. It's a casting function, which takes an expression and returns a Variant of subtype Double: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/ht ml/vsfctcdbl.asp Dave Watts, CTO, Fig Leaf Software

Re: CDBL function

2003-02-27 Thread Thomas Chiverton
On Wednesday 26 Feb 2003 20:46 pm, Leonardo Crespo - Cftop.COM wrote: > What is the equivalent of the CDBL() function (asp) in coldfusion? What does CDBL() do in ASP ? -- Tom C "Land of the free, home of the brave... you have to be brave to live there and enjoy the

RE: CDBL function

2003-02-26 Thread Dave Watts
> What is the equivalent of the CDBL() function (asp) in > coldfusion? > > I have a COM object that takes a weight as a parameter. In > one computer, it interprets 6.65 < 30 and 6,65 > 30 and on > the other occurs the exact oposite. There's nothing directly eq

CDBL function

2003-02-26 Thread Leonardo Crespo - Cftop.COM
What is the equivalent of the CDBL() function (asp) in coldfusion? I have a COM object that takes a weight as a parameter. In one computer, it interprets 6.65 < 30 and 6,65 > 30 and on the other occurs the exact oposite. Thx Le