We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0392528 commit 9abca06Copy full SHA for 9abca06
sources/net.sf.j2s.java.core/src/javajs/util/PT.java
@@ -371,7 +371,7 @@ public static String getQuotedAttribute(String info, String name) {
371
return (i < 0 ? null : getQuotedStringAt(info, i));
372
}
373
374
- public static double approxD(double f, int n) {
+ public static double approxD(double f, double n) {
375
return Math.round (f * n) / n;
376
377
0 commit comments