FORMAT VALUES

Applies a printf-style format string to all scalar values within a Define Table, normalizing how numbers or strings are displayed. Use this worker when you need consistent column-value formatting before downstream reporting or curve-pair operations.

When to use

Classification: process.

Tagged: define_table, format_values, printf, string_format, transformations.

Inputs

Label ID Type Default Required Description
Define Table dt1 define_table   Input Define Table containing value-and-curve pairs whose scalar values will be reformatted; leave unconnected to pass through an empty table.
Format format scalar %10s   Printf-style format string applied to each scalar value in the table (e.g. ‘%10s’ for a 10-character right-aligned string, ‘%.4f’ for 4 decimal places); defaults to ‘%10s’.

Outputs

Label ID Type Description
Define Table define_table define_table Define Table with all scalar values reformatted according to the supplied format string, ready for downstream workers.

Disciplines

  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=definetable_format_values


Auto-generated from transformation schema. Worker id: definetable_format_values. Schema hash: 2a3c3f607964. Hand-curated docs in workerexamples/ override this page when present.