float getChangePercent(int latestCardinality, int previousCardinality) {
        int diff = Math.abs(latestCardinality - previousCardinality);
        return (100.0f * diff) / previousCardinality;
    }
float getChangePercent(int latestCardinality, int previousCardinality) {
        int diff = Math.abs(latestCardinality - previousCardinality);
        return (100.0f * diff) / previousCardinality;
    }
float getChangePercent ( int latestCardinality , int previousCardinality ) { int diff = Math . abs ( latestCardinality - previousCardinality ) ; return ( 100.0f * diff ) / previousCardinality ; }
protected for tests
protected for tests