Current Culture (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Current Culture
'Current Culture' LogiX node
  CultureInfo *

The Current Culture node outputs information about a user's current locale.


This node provides information used when formatting data to strings (with the To String node) or parsing data from strings (using nodes under the Parsing category). The output from Current Culture can be provided to the FormatProvider of compatible nodes, an autocast node will be created upon connection. Locale information defines the default format for dates, times, numbers, currency values, the sorting order of text, casing conventions, and string comparisons for the user's; this can vary between countries and therefore it is possible that outputs from affected nodes may differ for different users depending on their locale. If such variance is undesirable consider using the Invariant Culture node instead.


Imagine that the float 3.14 is connected to the V input of a To String node, the string "C2" is connected to the Format input and Current Culture is connected to the FormatProvider input. For users in the en-GB (British English) locale the output from To String will be £3.14. However, for users in the en-US locale the output will be $3.14 while for users in many European countries it would be €3.14.

Node Menu

Back Current Culture Invariant Culture