org.stjs.javascript
Class JSNumberAdapter
java.lang.Object
org.stjs.javascript.JSNumberAdapter
public class JSNumberAdapter
- extends Object
here are the methods existent in Javascript for number objects and inexistent in the Java counterpart. The generator
should generate the correct code
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSNumberAdapter
public JSNumberAdapter()
toFixed
public static String toFixed(Number n,
int positions)
toFixed
public static String toFixed(String n,
int positions)
toExponential
public static String toExponential(Number n,
int positions)
toPrecision
public static String toPrecision(Number n,
int positions)
Copyright © 2013. All Rights Reserved.