You can't since the code generically converts numbers using TRANSFORM(). There's no way to generically force a format string in there that would work for all scenarios (what if you wanted 4 decimals or none?).
And realistically this shouldn't matter because both in FoxPro and JavaScript 2 == 2.00. Anything that receives those values on the other hand will have to deal with the fact that JavaScript doesn't differentiate between an Int or a Double or decimal value.
+++ Rick ---