{"id":18337646,"url":"https://github.com/tashkoskim/numberstotext","last_synced_at":"2025-04-13T08:25:52.205Z","repository":{"id":152277004,"uuid":"607826703","full_name":"tashkoskim/NumbersToText","owner":"tashkoskim","description":"Convert numbers to text on Macedonian","archived":false,"fork":false,"pushed_at":"2023-03-15T06:00:41.000Z","size":103,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:11:30.437Z","etag":null,"topics":["broj-vo-text","macedonian-language","macedonian-numbers","makedonski-broevi","number-to-words","numbers","numbers-to-macedonian","numbertotext","procitaj-broj"],"latest_commit_sha":null,"homepage":"https://github.com/tashkoskim/NumbersToText","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tashkoskim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T18:56:10.000Z","updated_at":"2024-02-24T15:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec41d2fc-039a-4a38-a0c2-8304243e72f3","html_url":"https://github.com/tashkoskim/NumbersToText","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tashkoskim%2FNumbersToText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tashkoskim%2FNumbersToText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tashkoskim%2FNumbersToText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tashkoskim%2FNumbersToText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tashkoskim","download_url":"https://codeload.github.com/tashkoskim/NumbersToText/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248682208,"owners_count":21144812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["broj-vo-text","macedonian-language","macedonian-numbers","makedonski-broevi","number-to-words","numbers","numbers-to-macedonian","numbertotext","procitaj-broj"],"created_at":"2024-11-05T20:11:53.456Z","updated_at":"2025-04-13T08:25:52.177Z","avatar_url":"https://github.com/tashkoskim.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NumbersToText\n## Convert numbers to text on Macedonian\n\nThis library **'ConvertNumbers.cs'** can convert any long number and decimal number into text on Macedonian language.   \nThe names of the big numbers greater than 10^6 are used according **'Old European name (Long form)'** for naming big numbers. You can read more about [names of large numbers](https://simple.wikipedia.org/wiki/Names_of_large_numbers).    \n\n- Some examples of names according this naming convention:\n```bigNumbers\n10^3 = \"илјада\", 10^6 = \"милион\", 10^9 = \"милијарда\", 10^12 = \"билион\", 10^15 = \"билијарда\", 10^18 = \"трилион\", 10^21 = \"трилијарда\", 10^24 = \"квадрилион\", 10^27 = \"квадрилијарда\", ...  \n```\n\n## Main methods\nThere are 2 main methods that can be used:   \n| Methods                          | Input parameter type    | Returns |\n| :------------------------------- | :---------------------- | :-------|\n| `ConvertNumbers.ToTextMK`        | `long`                  | `string`|\n| `ConvertNumbers.DecimalToTextMK` | `decimal`               | `string`|\n\nThe challenge part was to modify the words in some cases, because there are many cases on Macedonian where the words change depending which numbers needs to be read.\n\n## Output examples\nExample output text for the method `ToTextMK(long n)`:   \n```output1\n\u003e 201\nдвесте и еден\n\n\u003e 201005\nдвесте и една илјада и пет\n\n\u003e 202123\nдвесте и две илјади сто дваесет и три\n\n\u003e 10000001\nдесет милиони и еден\n\n\u003e 121000\nсто дваесет и една илјада\n\n\u003e 123000\nсто дваесет и три илјади\n\n\u003e -809645\nминус осумстотини и девет илјади шестотини четириесет и пет\n\n\u003e 9223372036854775807\nдевет трилиони двесте дваесет и три билијарди триста седумдесет и два билиони триесет и шест милијарди осумстотини педесет и четири милиони седумстотини седумдесет и пет илјади осумстотини и седум\n```   \nExample output text for the method `DecimalToTextMK(decimal n)`:  \n```output1\n\u003e 1.5\nедно цело и пет десеттинки\n\n\u003e 0.03\nтри стотинки\n\n\u003e 50.008\nпедесет цели и осум илјадинки\n\n\u003e 602546.00312400201\nшестотини и две илјади петстотини четириесет и шест цели и триста и дванаесет милиони четиристотини илјади двесте и една сто-милијардинка\n```\n----------------------------------------------\n\nYou can freely use the library for your needs if you like it.\n\nYou can contact me: tashkoskim@yahoo.com\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftashkoskim%2Fnumberstotext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftashkoskim%2Fnumberstotext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftashkoskim%2Fnumberstotext/lists"}