To String (LogiX node)

From Neos Wiki
Revision as of 12:56, 13 December 2022 by Kisaragi marine (talk | contribs) (ref: .net doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語
To String Float
'To String Float' LogiX node
Inputs
  Float V
  String Format
  IFormatProvider FormatProvider
Outputs
  String *

The To String Float node evalutes the inputs to determine an output as a type string.

Usage

This node determines the string value of the first V input and spits out a string output.

Format provides the node with a pre-determined case of how to format the given input. Please see dotnet's documentation for more information.

This node can be overriden with any type and accepts objects and gives a cleaned up output when given an object as input.

Examples

If given input V is of type color and you give it a Red value; it's stringed output is [1; 0; 0; 1]. This is the internal object printed out in it's string form. This should not be used for comparison as it is prone to break.

If given a type that it doesn't directly parse (Example here is a Slot) it'll print out clean versions of the Object type.


If given a slot it'll print out:

Slot: Slotname The slot's name itself.

Parent: Slotname The name of it's parent.


If given a bool it'll print out true or false depending on the input.

If format is provided as 0.00000 and a float input. The print out will display a float as 1.23456 If format is provided as 0.0 and a float4 input. The print out will display a float4 as [1.1; 2.2; 3.3; 4.4]

Node Menu

Operators
Back Bool Vectors Nullable Parsing - ! !=
% & ?: ?? ^ | |V|
|V|² + +/- +1 < << ==
> >> × ×dT ÷ ÷dT
° · 0 1 -1 1/x
1-x A^-1 Cross Determinant Distance Filter Invalid Get Type
IsInfinity IsNaN IsNull Mask Matrix Element -n NAND
NOR Normalized NotNull Pack Columns Pack rgba Pack Rows Pack xy
Pack xyz Pack xyzw Project Reflect ROL ROR To String
Transpose Unpack Columns Unpack Rows Unpack xy Unpack xyz Unpack xyzw
XNOR
String
Back Characters Quick Format Special Characters + < >
× Capitalize Compare Strings Contains Empty String
Ends With Escape String Format Get Type Index Of String Is String Empty New Line
Null String Replace First Substring Replace Substring Reverse String Starts With String Insert String Join
String Length String Remove Strip RTF Tags Substring To Lower To String To Upper
Trim String Unescape String