Get retrieves the float value in the setting.
(sv *Values)
| 26 | |
| 27 | // Get retrieves the float value in the setting. |
| 28 | func (f *FloatSetting) Get(sv *Values) float64 { |
| 29 | return math.Float64frombits(uint64(sv.getInt64(f.slot))) |
| 30 | } |
| 31 | |
| 32 | func (f *FloatSetting) String(sv *Values) string { |
| 33 | return EncodeFloat(f.Get(sv)) |