func (y *Yaml) Float64() (float64, error) {
	switch y.data.(type) {
	case float32, float64:
		return reflect.ValueOf(y.data).Float(), nil
	case int, int8, int16, int32, int64:
		return float64(reflect.ValueOf(y.data).Int()), nil
	case uint, uint8, uint16, uint32, uint64:
		return float64(reflect.ValueOf(y.data).Uint()), nil
	}
	return 0, errors.New("invalid value type")
}
// Float64 coerces into a float64
Float64 coerces into a float64
// Float64 coerces into a float64
func (y *Yaml) Float64() (float64, error) {
	switch y.data.(type) {
	case float32, float64:
		return reflect.ValueOf(y.data).Float(), nil
	case int, int8, int16, int32, int64:
		return float64(reflect.ValueOf(y.data).Int()), nil
	case uint, uint8, uint16, uint32, uint64:
		return float64(reflect.ValueOf(y.data).Uint()), nil
	}
	return 0, errors.New("invalid value type")
}
func ( y * Yaml ) Float64 ( ) ( float64 , error ) { switch y . data . ( type ) { case float32 , float64 : return reflect . ValueOf ( y . data ) . Float ( ) , nil case int , int8 , int16 , int32 , int64 : return float64 ( reflect . ValueOf ( y . data ) . Int ( ) ) , nil case uint , uint8 , uint16 , uint32 , uint64 : return float64 ( reflect . ValueOf ( y . data ) . Uint ( ) ) , nil } return 0 , errors . New ( " " ) }
Float64 coerces into a float64
Float64 coerces into a float64