add displayWholeNum attribute