I'd like to be able to store fractions in the database, so that people can type things such as 1/2 or 1 1/3. Given the fractions I am interested in (half, quarter, third) I will just store the numbers as integer twelvths.

Example: if I wanted 1 1/2 store 18, if I wanted 3 2/3 store as 44 etc.

So then how would I format to display 1 1/2 and 3 2/3 etc. in views?