6.25小时转换为6:15 1.提取小数,小数*60就是分钟 2.乘以60,使用求余,余数就是分钟
--Hive环境 select 6.25, int(6.25), pmod(6.25*60,60), concat(int(6.25),':',int(pmod(6.25*60,60)))