$data = WmiQuery(get disk things...)

$FreePct = 1.0 * $data.free / $data.size

Multiplying by 1.0 FIRST tells Kix that the entire operation should use double-precision math without calling a function or changing the values.

Adding 0.0 to an add/subtract has the same net effect.

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