To enter a fraction only just leave the integer box blank. You can enter proper as well as improper fractions.
To enter a whole number just leave the fraction boxes blank.