Calculator returns tip amount based on tip rate