5
That function takes an inches value and converts it into feet and inches... which is cool, but I suspect the input will be from two fields, feet and inches?
Get the feet field value from the form (make sure it's a number) then multiply it by 12. Then get the inches field (make sure it's a number between 1 and 12). Add the two together.
Or... just create two database fields per record, height_feet and height_inches (make sure they are numbers)
Or... as Mamba suggests, use a text field.
A thread is for life. Not just for Christmas.