fix indicator bug

This commit is contained in:
yanweidong
2026-01-21 02:33:50 +08:00
parent 09ce8008c9
commit e279299bf3
4 changed files with 32 additions and 26 deletions

View File

@@ -30,3 +30,10 @@ func Anys2Strings(any []any) []string {
}
return ret
}
func Any2Float(in any) float64 {
if in == nil {
return -1
}
return in.(float64)
}