Searched refs:unitFactor (Results 1 – 1 of 1) sorted by relevance
538 final long unitFactor; in buildLabel() local541 unitFactor = MB_IN_BYTES; in buildLabel()544 unitFactor = GB_IN_BYTES; in buildLabel()547 final double result = (double) value / unitFactor; in buildLabel()553 resultRounded = (unitFactor * Math.round(result * 10)) / 10; in buildLabel()556 resultRounded = unitFactor * Math.round(result); in buildLabel()