Math.round((amount + 0.000000000001) * 100) / 100
this one is equals to php's round with precision of two
round(amount,2);