Parsing the numbers in the different forms could be more robust, eg with [Zod](https://zod.dev/).
Parsing the numbers in the different forms could be more robust, eg with Zod.