liuxiaolong
2019-07-26 a06945a8759b65aa653073cc83254f9c7f1ccf11
extend/util/util.go
@@ -189,4 +189,9 @@
      }
   }
   return buffer.String()
}
func ParseScore(compareScore float32) float32 {
   f, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", compareScore*100), 32)
   return float32(f)
}