Extending Flash |
|
|
|
| C-Level Extensibility > The C-level API > JSBool JS_DoubleToValue() | |||
JSBool JS_DoubleToValue(JSContext *cx, double dv, jsval *vp);
Method; stores a floating-point number return value in a jsval structure.
JSContext *cx, double dv, jsval *vp
cx argument is the opaque JSContext pointer that passes to the JavaScript function.dv argument is an 8-byte floating-point number.vp argument is a pointer to the jsval structure into which the contents of the double should be copied.A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
|
|
|
|