Skip to content

JsIntToNumber

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

Creates a number value from an int value.

Syntax

STDAPI_(JsErrorCode) JsIntToNumber( _In_ int intValue, _Out_ JsValueRef *value); 

Parameters

  • intValue: The int 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