hey, this is working but has gone messy ! Can anyo...
# suitescript
t
hey, this is working but has gone messy ! Can anyone share something simple ? //nn.nnn var formattedPercent = ("00" + Math.floor(taxPercentage)).slice(-2) + "."+taxPercentage.toFixed(3).toString().split('.')[1]; //nnnnn.nn var formattedTax = ("00000" + Math.floor(invoiceTax)).slice(-5) + "."+(invoiceTax).toFixed(2).toString().split('.')[1];