Learned about floating point but couldn't get solutions to work