how to solve terminating decimals​