Change value to rational number
Exceptions