math domain error if result is 0. Decimals removal for integers
Added Check result formatting options test