Skip to content
PackiyTools

Unit toggle size-chart snippet

Customers need centimeters and inches without duplicated charts. Enter label + cm values; emit a self-contained measured-value table with explicit rounding (e.g. 1 decimal in).

Snippet aid only — Packiy helps you publish a self-contained cm↔in size table with documented rounding. This is not sizing advice, fit guidance, or a measurement standard.

Saved on this device as packiy.unit-toggle-size-chart.v1 · hydrating…

Chart meta

Enter cm values once. Snippet toggles display to inches with documented rounding ( ÷ 2.54, default 1 decimal).

Inches = cm ÷ 2.54, rounded to 1 decimal place.

Measurement columns

Column headers for the table (values stay in cm underneath).

1.
2.
3.

Size rows (cm)

Label + cm values only — inches are derived at display time, not duplicated as a second chart.

SizeChest (cm)Waist (cm)Length (cm)Actions
  • Enter at least one size row with a cm value.
  • Size row 1 has no label.
  • Size row 2 has no label.
  • Size row 3 has no label.

Converted preview

Same measured values — switch display unit. Inches = cm ÷ 2.54, rounded to 1 decimal place.

SizeChest (cm)Waist (cm)Length (cm)
————
————
————

Live snippet preview

Iframe runs the emitted HTML/JS — use the cm / in buttons inside the preview.

Enter valid size rows to preview the self-contained snippet.

HTML / JS snippet

Self-contained measured-value table — copy into listing HTML.