Function chakracore_sys::JsNumberToDouble [] [src]

pub unsafe extern "system" fn JsNumberToDouble(
    value: JsValueRef,
    doubleValue: *mut f64
) -> JsErrorCode

Retrieves the double value of a number value. This function retrieves the value of a number value. It will fail with JsErrorInvalidArgument if the type of the value is not number. The number value to convert to a double value. The double value. The code JsNoError if the operation succeeded, a failure code otherwise.