def currency_to_precision(self, currency, fee):
    return self.decimal_to_precision(fee, ROUND, self.currencies[currency]['precision'], self.precisionMode)
def currency_to_precision(self, currency, fee):
    return self.decimal_to_precision(fee, ROUND, self.currencies[currency]['precision'], self.precisionMode)