class IntegerOperations implements MathOperations<Integer>, Comparator<Integer> {

    @Override
    public int getExponentInScientificNotation( Integer value ) {
        int v = Math.abs(value);
        int exp = 0;
        if (v > 1) {
            while (v >= 10) {
                v /= 10;
                ++exp;
            }
        }
        return exp;
    }

}