Currency Conversion (LogiX node)
Jump to navigation
Jump to search
Currency Conversion | ||
---|---|---|
Inputs | ||
Decimal | SourceAmount | |
String | SourceCurrency | |
String | TargetCurrency | |
Outputs | ||
Decimal | TargetAmount | |
Bool | Converted |
The CurrencyConversion node converts the SourceAmount
from the SourceCurrency
to the TargetCurrency
.
Usage
The TargetAmount
output provides the converted currency value. The value is -1 if either the SourceCurrency
or TargetCurrency
inputs contain unrecognized strings.
The Converted
output is True if both the input strings were recognized and conversion was performed successfully.
Currently SourceCurrency
and TargetCurrency
only accept the strings 'USD' and 'NCR'. If both are left as defaults, the node uses NCR as the SourceCurrency
and USD as the TargetCurrency
Examples
Node Menu
Transactions | ||||||
---|---|---|---|---|---|---|
Back | Currency Conversion | Tokens Enabled |