Not sure why this works:

code:
$s = Execute("$$v = 8.0/(3.0-8.0/3.0)")
If cint($v)=24
? "hey this equals 24"
Else
? "wait a minute - this does not equal 24"
EndIf

and this does not:
code:
$s = Execute("$$v = 8.0/(3.0-8.0/3.0)")
If $v=cdbl(24)
? "hey this equals 24"
Else
? "wait a minute - this does not equal 24"
EndIf

I guess changing to an INT just plain easier to do..

[ 17. September 2002, 00:36: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/