// MapToInt applies mapping function on optional value if it presents
MapToInt applies mapping function on optional value if it presents
// MapToInt applies mapping function on optional value if it presents
func (f Float64) MapToInt(c func(float64) int) Int {
	if c == nil || !f.IsPresent() {
		return Int{}
	}
	return OfInt(c(f.value))
}
func ( f Float64 ) MapToInt ( c func ( float64 ) int ) Int { if c == nil || ! f . IsPresent ( ) { return Int { } } return OfInt ( c ( f . value ) ) }
MapToInt applies mapping function on optional value if it presents
MapToInt applies mapping function on optional value if it presents