Skip to content

Commit 9abca06

Browse files
hansohanso
authored andcommitted
fix PT.approxD
1 parent 0392528 commit 9abca06

File tree

1 file changed

+1
-1
lines changed
  • sources/net.sf.j2s.java.core/src/javajs/util

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/javajs/util/PT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public static String getQuotedAttribute(String info, String name) {
371371
return (i < 0 ? null : getQuotedStringAt(info, i));
372372
}
373373

374-
public static double approxD(double f, int n) {
374+
public static double approxD(double f, double n) {
375375
return Math.round (f * n) / n;
376376
}
377377

0 commit comments

Comments
 (0)