Hmm, it seems KiX has problems comparing Doubles with Longs....

Give this a try:
code:
Break on

$s = Execute("$$v = 8.0/(3.0-8.0/3.0)")
If $v=24
? "hey this equals 24"
Else
? "wait a minute - this does not equal 24"
EndIf
? ?
? " V - " $v " - " VarTypeName($v)
$v = Val($v)
? " Val V - " $v " - " VarTypeName($v)
$x = 24
? " X - " $x " - " VarTypeName($x)
$x = Val($x)
? " Val X - " $x " - " VarTypeName($x)


Get $x

Exit (0)

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...