extend/util/util.go
@@ -192,6 +192,9 @@ } func ParseScore(compareScore float32) float32 { f, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", compareScore*100), 32) if compareScore < 1 { compareScore = compareScore * 100 } f, _ := strconv.ParseFloat(fmt.Sprintf("%2.2f", compareScore), 32) return float32(f) }