.. _auto_curve_format_points:
*FORMAT X AND Y VALUES OF THE CURVE*
====================================
Applies printf-style format strings to the X and Y point values of a curve, controlling numeric precision and display format. Use this worker when you need to round, pad, or reformat curve coordinates before export or reporting.
When to use
-----------
Classification: **process**.
Tagged: ``curve``, ``format``, ``points``, ``precision``, ``printf``, ``transform``.
Inputs
------
.. list-table::
:header-rows: 1
:widths: 20 20 20 20 20 20
* - Label
- ID
- Type
- Default
- Required
- Description
* - Curve
- curve
- vector
- —
-
- Curve to be formatted View more
* - X Format
- x_format
- scalar
- %s
-
- Printf-style format string applied to every X-axis point (e.g. '%.4f' for 4 decimal places); defaults to '%s' which leaves values unchanged.
* - Y Format
- y_format
- scalar
- %s
-
- Printf-style format string applied to every Y-axis point (e.g. '%.4f' for 4 decimal places); defaults to '%s' which leaves values unchanged.
Outputs
-------
.. list-table::
:header-rows: 1
:widths: 20 20 20 20
* - Label
- ID
- Type
- Description
* - Curve Formatted
- curve_formatted
- vector
-
Disciplines
-----------
- data.curve.transform
Runnable example
----------------
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curve_format_points `_
.. raw:: html
Auto-generated from transformation schema. Worker id: curve_format_points. Schema hash: 7b6c676a0feb. Hand-curated docs in workerexamples/ override this page when present.