- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RegisterFloatVar (1.43 sec)
-
pkg/env/var.go
v := Var{Name: name, DefaultValue: strconv.FormatInt(int64(defaultValue), 10), Description: description, Type: INT} RegisterVar(v) return IntVar{getVar(name)} } // RegisterFloatVar registers a new floating-point environment variable. func RegisterFloatVar(name string, defaultValue float64, description string) FloatVar { v := Var{Name: name, DefaultValue: strconv.FormatFloat(defaultValue, 'G', -1, 64), Description: description, Type: FLOAT}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 11.8K bytes - Viewed (0)