Replaced String.format calls after getQuantityString() with getQuantityString formatting