Playing around with the following code and get two results.

In Excel - 53
In KiXtart - 50

Here is the code:
code:
CLS
BREAK ON
;Y0 + (X - X0) * (Y1 - Y0) / (X1 - X0)
; x y
;X0 1 35
;X 4
;X1 7 62
;What is Y?

$XO=1
$X=4
$X1=7
$Y0=35
$Y1=62

$INT=$Y0 + ($X - $X0) * ($Y1 - $Y0) / ($X1 - $X0)
?$INT

GET $

I have added parenthesis too and it does not change the result.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's