Description
// hive
hive> select round(150.000, 2) from temp limit 1;
150.0
hive> select round(150, 2) from temp limit 1;
150.0
// mysql
mysql> select round(150.000, 2) from DUAL limit 1;
round(150.000, 2)
150.00
mysql> select round(150, 2) from DUAL limit 1;
round(150, 2)
150
http://dev.mysql.com/doc/refman/5.1/en/mathematical-functions.html#function_round