Hive cast as decimal. It follows the syntax: CAST(expression AS data_type).