Example usage for jdk.nashorn.internal.objects NativeNumber valueOf

List of usage examples for jdk.nashorn.internal.objects NativeNumber valueOf

Introduction

In this page you can find the example usage for jdk.nashorn.internal.objects NativeNumber valueOf.

Prototype

@Function(attributes = Attribute.NOT_ENUMERABLE)
public static double valueOf(final Object self) 

Source Link

Document

ECMA 15.7.4.4 Number.prototype.valueOf ( )

Usage

From source file:org.siphon.common.js.JsTypeUtil.java

License:Open Source License

private static Object jsObjectToJava(NativeNumber arg) {
    return NativeNumber.valueOf(arg);
}