core/src/main/java/org/jruby/RubyBasicObject.java
@Override
    public RubyFloat convertToFloat() {
        Ruby runtime = metaClass.runtime;
        ThreadContext context = runtime.getCurrentContext();
        BasicObjectSites sites = sites(context);
        return (RubyFloat) TypeConverter.convertToType(context, this, runtime.getFloat(), sites.to_f_checked);
    }
/**
     * Tries to convert this object to a Ruby Float using the "to_f" method.
     * @return float representation of this
     */
Tries to convert this object to a Ruby Float using the "to_f" method.
@return float representation of this
Tries to convert this object to a Ruby Float using the " to_f " method . @return float representation of this
@Override
    public RubyFloat convertToFloat() {
        Ruby runtime = metaClass.runtime;
        ThreadContext context = runtime.getCurrentContext();
        BasicObjectSites sites = sites(context);
        return (RubyFloat) TypeConverter.convertToType(context, this, runtime.getFloat(), sites.to_f_checked);
    }
@ Override public RubyFloat convertToFloat ( ) { Ruby runtime = metaClass . runtime ; ThreadContext context = runtime . getCurrentContext ( ) ; BasicObjectSites sites = sites ( context ) ; return ( RubyFloat ) TypeConverter . convertToType ( context , this , runtime . getFloat ( ) , sites . to_f_checked ) ; }
Tries to convert this object to a Ruby Float using the "to_f" method.
Tries to convert this object to a Ruby Float using the " to_f " method .