Skip to content
HALOWERK

Text Tools

localized money rounding collision groups

Localized price display returns groups of different decimal values that round to the same currency label. Use it when an agent needs to find ambiguous prices in a translated catalog.

POST https://text.halowerk.com/v1/localized-money-rounding-collision-groups

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
currencystringYes
valuesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 48,
      "minLength": 1
    },
    "currency": {
      "type": "string",
      "maxLength": 3,
      "minLength": 1
    },
    "values": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^-?(?:0|[1-9][0-9]{0,14})(?:[.][0-9]{1,12})?$"
      },
      "maxItems": 50,
      "minItems": 2
    }
  },
  "required": [
    "locale",
    "currency",
    "values"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "currency": "EUR",
  "values": [
    "12.341",
    "12.344",
    "12.40"
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →