Force floating point results when the result could be more than 32000 or you need decimal values. Kix sees you using whole numbers, so returns an Integer whole number. This
 Code:
$Size = 1.0 * GetFileSize($File) / 1024
starts with a floating point, which converts all of the values to floating point and will return the proper decimal value.

Multiplying by 1.0 at the start of an expression is a simple way to tell Kix to work with floating point values.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D