• I also think Math.round() does not behave as expected

    Math.round(1.3)
    =1
    >Math.round(1.4)
    =1
    >Math.round(1.5)
    =1
    >Math.round(1.6)
    =2
    >Math.round(1.0)
    =1
    

    Math.round(1.5) should return 2

About