Calculates tip amount based on given currency amount.