Currency Conversion (LogiXノード)

From Neos Wiki
Revision as of 15:35, 17 February 2022 by Aesc (talk | contribs) (Created page with "Currency Conversion (LogiXノード)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Currency Conversion
'Currency Conversion' LogiX node
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

NodeMenu-Transactions/ja