How are disc and track number tags stored?

This is a curious thing I've noticed since using these tags extensively, and it seems that different players handle these tags in different ways.

I thought they were simple integers, but then Mp3tag seems to store them as a count/total. How is that done? Can't be as simple as a string with a slash, surely?

Regarding the filetype MP3 read there ...
http://id3.org/id3v2.3.0#Declared_ID3v2_frames

... Mp3tag tag-field "Track" ...

... Mp3tag tag-field "DISCNUMBER" ...

DD.20140522.1215.CEST