If the value of ${showInfo.tt} is 20, and you want it to be divided by 10 and be accurate to 2 decimal places, then the js code can be written as follows:
var a = ${showInfo.tt}/10;
//alert(a.toFixed(3)); //The value obtained to 3 decimal places is 2.000
document.write(a.toFixed(2)); //The value obtained is 2.00