Layer 231
CurrencyRateObj
Exchange rate of a currency.
constructor
currencyRate#30d9743c currency:string rate:double = CurrencyRate;
Parameters
| Name | Type | Description |
|---|---|---|
| Currency | string | Currency code |
| Rate | double | Exchange rate |
Returns
CurrencyRateGogram Example
// Creating CurrencyRateObj constructor obj := &tg.CurrencyRateObj{ Currency: "USD", Rate: 3.14159, }