liuxiaolong
2019-07-26 2fa9f93319e20611d333acd04006a8e056387d1e
fix bug
1个文件已修改
2 ■■■ 已修改文件
extend/util/util.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
extend/util/util.go
@@ -192,6 +192,6 @@
}
func ParseScore(compareScore float32) float32 {
    f, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", compareScore), 32)
    f, _ := strconv.ParseFloat(fmt.Sprintf("%2.2f", compareScore), 32)
    return float32(f)
}