Skip to content

JsDoubleToNumber

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Creates a number value from a double value.

Syntax

STDAPI_(JsErrorCode)
    JsDoubleToNumber(
    _In_ double doubleValue,
    _Out_ JsValueRef *value);

Parameters

  • doubleValue: The double to convert to a number value.
  • value: The new number value.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

Clone this wiki locally