Skip to content
HALOWERK

Trade Operations

currency decimal column anchors

Currency column layout returns decimal anchor positions and left padding for a list of prices in one locale. Use it when an agent needs grapheme-aligned decimal columns in a monospace table.

POST https://handel.halowerk.com/v1/currency-decimal-column-anchors

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
currencystringYes
amountsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "currency": {
      "type": "string",
      "maxLength": 8,
      "minLength": 1
    },
    "amounts": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -10000000000,
        "maximum": 10000000000
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "locale",
    "currency",
    "amounts"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "currency": "EUR",
  "amounts": [
    1234.5,
    3,
    -42.5
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’