-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsNumberToInt
Limin Zhu edited this page Oct 9, 2015
·
1 revision
Retrieves the int value of a number value.
STDAPI_(JsErrorCode)
JsNumberToInt(
_In_ JsValueRef value,
_Out_ int *intValue);
- value: The number value to convert to an int value.
- intValue: The int value.
The code JsNoError if the operation succeeded, a failure code otherwise.
This function retrieves the value of a number value and converts to an int value. It will fail with JsErrorInvalidArgument if the type of the value is not number.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!