ProtoFlux:ToString: Difference between revisions

From Resonite Wiki
fix type links
m YoshBot moved page ProtoFlux:To String to ProtoFlux:ToString: Automated: removing spaces from ProtoFlux namespace
 
(3 intermediate revisions by 3 users not shown)
Line 14: Line 14:
|}}
|}}


The '''To String''' node turns various types, including objects, into [[Type:String|strings]]. In general, this will match the string that a [[Display (ProtoFlux)|display node]] displays. Use cases include HUDs that involve numbers, such as turning your FPS into text for a display, or readouts of objects or values.
The <code>To String</code> node turns various [[:Category:Type|types]], including objects, into [[Type:String|strings]]. In general, this will match the string that a [[ProtoFlux:Display|display node]] displays. Use cases include HUDs that involve numbers, such as turning your FPS into text for a display, or readouts of objects or values.
 
{{Note|If you are looking to take a string and make it into a value instead, try [[ProtoFlux:Parse|Parse]].|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 00:37, 21 August 2025

To String
V
*
Format
FormatProvider
Strings

The To String node turns various types, including objects, into strings. In general, this will match the string that a display node displays. Use cases include HUDs that involve numbers, such as turning your FPS into text for a display, or readouts of objects or values.

If you are looking to take a string and make it into a value instead, try Parse.

Inputs

V (Generic)

The value to turn into a string.

Format (String)

A Composite Format String.

FormatProvider (IFormatProvider)

The locale to use for the output. Defaults to the invariant culture.

Outputs

* (String)

The value as a string following the format.

Examples