mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
修改价格的单位为厘(0.001元),以适配基金的数据
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user