Calculator now returns the correct amount as a float