add support for ratios

i'm not getting the stack trace on the console, can you confirm it's still there or it was fixed by the division by 0 patch?