Numbers, currencies and locales
Decimal and group separators by locale, currency formats and their minor units, phone number formats, radix parsing and exact comparison of two proportions.
9 shown here, each at the exact version the library release of October 9, 2026 serves.
What to watch for
- 1.234 is one thousand two hundred thirty-four in German and about one and a quarter in English.
- The yen has no minor unit and the Bahraini dinar has three.
- Two percentages cannot be compared without their denominators.
Test packs and checks
Number formatting by locale
localeFormats.jsonNumber formatting by locale: thousands and decimal separators, symbol side, spacing and decimal digits: 8 rows with a JSON Schema, a checked loader and tests.
- Rows
- 8
- Data file
- data/localeFormats.json
Locales with their decimal and group separators
locales.jsonLocales with name, country, language and number decimal/group separators: 358 rows with a JSON Schema, a checked loader and tests.
- Rows
- 358
- Data file
- data/locales.json
Currency display format by locale
currency-format.v2.jsonCurrency display format by locale: symbol, decimal and group separators, precision and pattern: 358 rows with a JSON Schema, a checked loader and tests.
- Rows
- 358
- Data file
- data/currency-format.v2.json
ISO 4217 currencies with decimals
currencies.jsonISO 4217 currencies with decimals, symbols and default locale: 146 rows with a JSON Schema, a checked loader and tests.
- Rows
- 146
- Data file
- data/currencies.json
Common world currencies with decimal digits and rounding
Common-Currency.jsonCommon world currencies with symbol, native symbol, decimal digits, rounding and plural name: 119 rows with a JSON Schema, a checked loader and tests.
- Rows
- 119
- Data file
- data/Common-Currency.json
Example international phone number formats by country code
phone-formats.jsonExample international phone number formats by country code: 58 rows with a JSON Schema, a checked loader and tests.
- Rows
- 58
- Data file
- data/phone-formats.json
parse_int from pydash
parse_intparse_int from pydash: Converts the given `value` into an integer of the specified `radix`.
- Function
- parse_int
- Project
- pydash
is_prime from more-itertools
is_primeis_prime from more-itertools: Return ``True`` if *n* is prime and ``False`` otherwise.
- Function
- is_prime
- Project
- more-itertools
Compare two counted proportions with exact arithmetic and explicit denominators
baltor_percentage_comparisonCompare two counted proportions with exact arithmetic and explicit denominators.
- Files
- SKILL.md
- Placed for
- OpenCode
Give your agent these components
Your harness downloads them through Baltor with Pro, $49 a month. Cancel any time from your account page.
More from Corner cases
- Dates, times and time zonesIANA time zone tables with aliases, abbreviations and offsets, RFC 3339 helpers, date formats by country, and checkers for out-of-order timestamps and missed deadlines.
- Text, Unicode and encodingsLook-alike Unicode characters, Unicode blocks and emoji tables, base64 and base58 validators, and normalizers for whitespace, Unicode and personal data in free text.
- CSV files and recordsColumn profiles, field rule checks, merges of several sources and duplicate finders for CSV records.
- Names, addresses and identifiersAddress line parsing, name capitalisation, company suffixes, email and website repair, postal code formats for 246 countries, and validators with check digits.
- JSON Schema and API requestsJSON Schema 2020-12 conformance test groups, and API request cases that each change one field of a valid request and expect exactly one validation error.
- Files, transfers and 3D exportsFile transfers in checked parts, glTF and Godot checkers that catch lost animation and joints, and conformance tools for TOML parsers, HTTP/2 servers and Matroska files.
- Deterministic skillsSkills that give the same answer every time.
- Harness toolsTools your coding agent can call.
- Data cleanup with and without BaltorWe measured library items against no item on a data cleanup task. They did not help on this test, and one item made results worse.
- Expertise for the whole teamFor a team lead who wants the same skills, tools and files available to every person and every agent on the team.
- What it is and what it costsWhat Baltor is, what stays in your environment and what it costs, for someone comparing tools before anything else.
- Harness FilesSkills, instruction files, tools, hooks and settings your harness picks up: what they are, how a harness gets them, and the setup for each harness.
- GalleryBrowse Baltor's original Godot shaders, procedural textures, meshes and Blender tools, each with the render its engine check recorded.