Conversionregistry-listed

To Number

To Number (convert_to_number) is a Conversion node. Semantics: convert.to_number. Ports and options below are generated from the syntax registry.

Registry listing does not certify support for every language or host environment. Check the selected target’s diagnostics and generated output.

Overview

Kind id
convert_to_number
Semantics
convert.to_number
Source
CORE_NODE_REGISTRY

Detailed guidance for this kind is still being written. Ports and options below come from the syntax registry.

Ports

IdDirTypeLabel
valueindata_stringValue
resultoutdata_numberNumber

Options

IdTypeDefaultNotes
numberModeenumparseFloatparseFloat accepts a numeric prefix; Number converts the entire value. Other targets retain their native conversion. · enum: parseFloat, number