Números romanos
roman-numeralConvierte enteros 1-3999 a números romanos y viceversa (forma estricta). Cuándo: un resultado numérico tiene que ser exacto o reproducible y no estimado. No para: convertir enteros de cualquier tamaño entre bases 2 y 36 (radix-convert). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Converts integers 1-3999 to standard Roman numerals and validates/parses Roman numerals (strict subtractive form) back to integers. When: a numeric result has to be exact or reproducible instead of estimated. Not for: converting an integer of any size between bases 2-36 (radix-convert). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Integer (to Roman) or Roman numeral string (to integer) (integer or string; required; up to 20 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roman | No | ||
| integer | No |