lariconv
Gem to convert different currencies to Georgian Lari based on
the National Bank of Georgia's exchange rate for a given date.
Usage
Lariconv.convert(amount: 1000, currency: 'GBP', date: '2022-08-15')
Lariconv.convert(amount: BigDecimal('100.68'), currency: 'EUR')
Lariconv.convert(amount: 1.5, currency: 'USD', date: '2023-08-15').to_f
Lariconv.convert(amount: 100, currency: 'EUR').to_s('F')
Lariconv.convert(amount: 'abc', currency: 'EUR')
Lariconv.convert(amount: 1000, currency: 'WTF')
Copyright
Copyright (c) 2023 Den Patin. See LICENSE for details.