Format frequencies.