remove uint repeat conversion (#2096)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
daguang
2022-08-26 15:45:41 +08:00
committed by GitHub
parent 37aee19bfa
commit a0619f7ff0

View File

@ -113,7 +113,7 @@ func Uint64(any interface{}) uint64 {
if valueFloat64 := Float64(value); math.IsNaN(valueFloat64) {
return 0
} else {
return uint64(Float64(value))
return uint64(valueFloat64)
}
}
}