Fix format float numbers #12

Closed
Enyby wants to merge 5 commits from patch-5 into master
Showing only changes of commit b5a2bd6bbe - Show all commits

View File

@@ -471,7 +471,7 @@ public class StringLib extends TwoArgFunction {
public void format(Buffer buf, double x) {
String out;
try {
String.format(src, x);
out = String.format(src, x);
} catch (Throwable e) {
out = String.valueOf( x );
}