I want $l2 to be a decimal fraction but it is beng automatically rounded to an integer. I have tried formatting it as CDbl or FormatNumber to no avail !
How do I Dim $l2 to remain as a fraction ?

Little Example
Code:

for $x = 1 to 12
$year = 2000 + $x
$l1 =int($year/4)
$l2 =$year/4
? $l1 " ~ " $l2
if $l1 = $l2 ? "LEAPYEAR" endif
next
sleep 10



This fails every time in KIX as the decimal fractions
are supressed... How to Unsupress !