Convert percentage to fraction (#803)