2021-02-08 11:24:14 +07:00
|
|
|
package com.cubetiqs.money
|
2020-08-27 10:48:31 +07:00
|
|
|
|
2020-08-27 21:42:05 +07:00
|
|
|
fun StdMoney.exchangeTo(currency: String): StdMoney {
|
|
|
|
return MoneyExchangeUtils.exchange(this, currency)
|
|
|
|
}
|
|
|
|
|
|
|
|
fun StdMoney.isMatchedCurrency(currency: String) = this.getMoneyCurrency().equals(currency, ignoreCase = true)
|