class Float

Public Instance Methods

to_js → JS::Object click to toggle source

Returns self as a JS::Object.

static VALUE _rb_js_float_to_js(VALUE obj) {
  return jsvalue_s_new(rb_js_abi_host_float_to_js_number(RFLOAT_VALUE(obj)));
}