how to calculate long fraction - Search