Added converting to int when result has no fractionals