Function chakracore_sys::JsIntToNumber [] [src]

pub unsafe extern "system" fn JsIntToNumber(
    intValue: c_int,
    value: *mut JsValueRef
) -> JsErrorCode

Creates a number value from an int value. Requires an active script context. The int to convert to a number value. The new number value. The code JsNoError if the operation succeeded, a failure code otherwise.