File:Protoflux example to string.webp: Difference between revisions

File on Resonite Wiki
An example of To String (ProtoFlux Node). There are four examples. From top to bottom: 1. A float3 input with the format string "N2". This format string adds separators for numbers and prints the result to 2 decimal places. 2. A bool2 input of false and true without any format string. This results in the string "[False; True]" 3. An int input with the format string "X". This format string simply displays the integer as a hex string. 4. A ColorX input with the format string "P0". This for...
 
m oops numbered lists don't work like that
 
Line 2: Line 2:
An example of [[To String (ProtoFlux Node)]]. There are four examples. From top to bottom:
An example of [[To String (ProtoFlux Node)]]. There are four examples. From top to bottom:


1. A float3 input with the format string "N2". This format string adds separators for numbers and prints the result to 2 decimal places.
# A float3 input with the format string "N2". This format string adds separators for numbers and prints the result to 2 decimal places.
2. A bool2 input of false and true without any format string. This results in the string "[False; True]"
# A bool2 input of false and true without any format string. This results in the string "[False; True]"
3. An int input with the format string "X". This format string simply displays the integer as a hex string.
# An int input with the format string "X". This format string simply displays the integer as a hex string.
4. A ColorX input with the format string "P0". This format string displays the inputs as percentages without any decimal places.
# A ColorX input with the format string "P0". This format string displays the inputs as percentages without any decimal places.

Latest revision as of 08:40, 13 January 2024

Summary

An example of To String (ProtoFlux Node). There are four examples. From top to bottom:

  1. A float3 input with the format string "N2". This format string adds separators for numbers and prints the result to 2 decimal places.
  2. A bool2 input of false and true without any format string. This results in the string "[False; True]"
  3. An int input with the format string "X". This format string simply displays the integer as a hex string.
  4. A ColorX input with the format string "P0". This format string displays the inputs as percentages without any decimal places.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:39, 13 January 2024Thumbnail for version as of 08:39, 13 January 2024857 × 800 (61 KB)Yosh (talk | contribs)An example of To String (ProtoFlux Node). There are four examples. From top to bottom: 1. A float3 input with the format string "N2". This format string adds separators for numbers and prints the result to 2 decimal places. 2. A bool2 input of false and true without any format string. This results in the string "[False; True]" 3. An int input with the format string "X". This format string simply displays the integer as a hex string. 4. A ColorX input with the format string "P0". This for...

The following 2 pages use this file: