Evaluator: Equivalent of toFixed()?

I am seeking the Evaluator's counterpart to JScript's toFixed() method.

According to the documentation, achieving this equivalence should be possible using As %.p.

Limit to 'p' decimal places using %.p.

However, based on this example, it appears that this expression restricts the total number of digits rather than the decimals.

a = 100 As double;
b = 7;
t = a / b;

Output(t);
Output(t As %.1);
Output(t As %.2);
Output(t As %.3);
Output(t As %.4);

How can I replicate toFixed()? Also, why does As insert so many spaces before the number?

Thanks for the report. This is fixed in 13.4.7.