Compare commits
3 Commits
0.9.36-bet
...
0.9.38-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
90d019f92a
|
|||
|
6fb31be12c
|
|||
|
d6ede0b404
|
@@ -1,4 +1,4 @@
|
|||||||
project_group = me.topchetoeu
|
project_group = me.topchetoeu
|
||||||
project_name = jscript
|
project_name = jscript
|
||||||
project_version = 0.9.27-beta
|
project_version = 0.9.38-beta
|
||||||
main_class = me.topchetoeu.jscript.utils.JScriptRepl
|
main_class = me.topchetoeu.jscript.utils.JScriptRepl
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ public class NumberLib {
|
|||||||
var digits = args.getInt(0, 0);
|
var digits = args.getInt(0, 0);
|
||||||
|
|
||||||
var nf = NumberFormat.getNumberInstance();
|
var nf = NumberFormat.getNumberInstance();
|
||||||
|
nf.setMinimumFractionDigits(digits);
|
||||||
nf.setMaximumFractionDigits(digits);
|
nf.setMaximumFractionDigits(digits);
|
||||||
|
|
||||||
return nf.format(args.getDouble(-1));
|
return nf.format(args.getDouble(-1));
|
||||||
|
|||||||
@@ -397,7 +397,7 @@ public class SimpleDebugger implements Debugger {
|
|||||||
catch (Exception e) { }
|
catch (Exception e) { }
|
||||||
|
|
||||||
try { res.set("description", className + (defaultToString ? "" : " { " + Values.toString(ctx, obj) + " }")); }
|
try { res.set("description", className + (defaultToString ? "" : " { " + Values.toString(ctx, obj) + " }")); }
|
||||||
catch (EngineException e) { }
|
catch (Exception e) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user