how to parse 3 decimal number to one decimal code example
Example 1: how to get number after decimal point
decnm = "0"+str(number-int(number))[1:]
float(decnm)
Example 2: route number to 2 decimal number
var round = (num,numOfDecimal=2)=>{
const numofdic = Math.pow(10,numOfDecimal)
return Math.round(num * numofdic) / numofdic;
}