Javascript: format number to 2 decimal places

 var iNum=190.1;

gs.print(iNum.toFixed(2));

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

Running transform maps asynchronously