*) hopefully fixed the wrong display of yacy-version

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2462 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
auron_x 19 years ago
parent 348258a557
commit 5e558fbaae

@ -175,7 +175,7 @@ public final class yacy {
* @return String with the combined version. * @return String with the combined version.
*/ */
public static float versvn2combinedVersion(float v, int svn) { public static float versvn2combinedVersion(float v, int svn) {
return (float) (((double) v * 100000000.0 + ((double) svn)) / 100000000.0); return (float) (Math.rint((v*100000000.0) + ((float)svn))/100000000);
} }
/** /**

Loading…
Cancel
Save