> 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
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
> > > 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
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
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
> 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
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
> 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
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
9 matches
Mail list logo