修改价格的单位为厘(0.001元),以适配基金的数据

This commit is contained in:
钱纯净
2025-03-15 15:15:05 +08:00
parent fa7f5e7068
commit 4035024c3f

View File

@@ -17,7 +17,6 @@ func (this Price) Int64() int64 {
func (this Price) String() string {
return fmt.Sprintf("%s元", FloatUnitString(this.Float64()))
return fmt.Sprintf("%0.3f元", this.Float64())
}
type PriceLevel struct {