Updated description and linked to new quantity types page. "QuantityX" doesn't exist in Resonite. |
m YoshBot moved page ProtoFlux:Parse Quantity to ProtoFlux:ParseQuantity: Automated: removing spaces from ProtoFlux namespace |
||
(No difference)
|
Latest revision as of 00:30, 21 August 2025
Parse Quantity <Type>
Quantity
The Parse Quantity node takes in a string containing a written quantity value, along with the string of the default unit to assume if no explicit unit is present as part of the input string. It returns the parsed quantity value as a quantity type and a bool indicating wether it parsed successfully.
To create this node, you need to specify a valid quantity type for its generic parameter. Examples: Mass
, Time
, and Voltage
.
Inputs
Str (string)
The string to parse.
DefaultUnit (string)
The default unit to assume if no unit is present in the input string.
Outputs
Value (Quantity)
The parsed quantity value.
IsParsed (bool)
Wether the input string was parsed successfully.