// MapToFloat64 applies mapping function on optional value if it presents
MapToFloat64 applies mapping function on optional value if it presents
// MapToFloat64 applies mapping function on optional value if it presents
func (s String) MapToFloat64(f func(string) float64) Float64 {
	if f == nil || !s.IsPresent() {
		return Float64{}
	}
	return OfFloat64(f(s.value))
}
func ( s String ) MapToFloat64 ( f func ( string ) float64 ) Float64 { if f == nil || ! s . IsPresent ( ) { return Float64 { } } return OfFloat64 ( f ( s . value ) ) }
MapToFloat64 applies mapping function on optional value if it presents
MapToFloat64 applies mapping function on optional value if it presents