Skip to content
HALOWERK

Text Tools

plural category visible decimal shift

Plural selection returns the cardinal categories for the same value with supplied and trimmed fractional precision. Use it when an agent needs to choose a translated quantity label that respects visible zeros.

POST https://text.halowerk.com/v1/plural-category-visible-decimal-shift

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
valuestringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 48,
      "minLength": 1
    },
    "value": {
      "type": "string",
      "pattern": "^-?(?:0|[1-9][0-9]{0,14})(?:[.][0-9]{1,12})?$"
    }
  },
  "required": [
    "locale",
    "value"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "value": "1.00"
}

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 →