Math.round()

Steps to reproduce:
1]Cost of item1:$20.95
Cost of item2:$7.99
Cost of item3:$18.99
Cost of Shipping:$4.99
Tax:10%
Calculating the total cost i am using cents and then converting back to dollars :Math.round((2095+799+1899+499).1)/100=5.29
but this gives a different answer Math.round((2095+799+1899+499)
.1/100)=5
Can anyone explain what effects the outer bracket of Math.round ??
Was this page helpful?