mysql取出字段数据的精度

$field = 'convert(avg(mood),decimal(4,0)) mood,convert(avg(hrv),decimal(4,0)) hrv,convert(avg(heart_rate),decimal(4,0)) heart_rate,convert(avg(respiratory_rate),decimal(4,0)) respiratory_rate';
原文地址:https://www.cnblogs.com/zouke1220/p/9944889.html