object Test { def main(args: Array[String]) { assert(123456789.round == 123456789) assert(math.round(123456789) == 123456789) assert(1234567890123456789L.round == 1234567890123456789L) assert(math.round(1234567890123456789L) == 1234567890123456789L) } }