Skip to content

Commit e5dc767

Browse files
author
Peter
committed
fixing minor rounding bug in Helper
1 parent 655fa18 commit e5dc767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/graphhopper/util/Helper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,6 @@ public static final double round4( double value )
494494

495495
public static final double round2( double value )
496496
{
497-
return Math.round(value * 100) / 100;
497+
return Math.round(value * 100) / 100d;
498498
}
499499
}

0 commit comments

Comments
 (0)