{"id":15394255,"url":"https://github.com/xyproto/num","last_synced_at":"2025-07-19T20:35:12.127Z","repository":{"id":136549326,"uuid":"1559712","full_name":"xyproto/num","owner":"xyproto","description":"Fractions and conversion to/from string, float64 and big numbers","archived":false,"fork":false,"pushed_at":"2022-09-27T18:21:19.000Z","size":74,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T11:31:46.209Z","etag":null,"topics":["conversions","denominator","fractions","mathematics","numerator"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xyproto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2011-04-02T14:56:08.000Z","updated_at":"2022-09-27T18:19:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"e290a0cd-7b03-4c0b-a4da-3d59dd98fdb6","html_url":"https://github.com/xyproto/num","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/xyproto/num","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fnum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fnum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fnum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fnum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/num/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fnum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266008325,"owners_count":23863538,"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":["conversions","denominator","fractions","mathematics","numerator"],"created_at":"2024-10-01T15:22:49.784Z","updated_at":"2025-07-19T20:35:12.040Z","avatar_url":"https://github.com/xyproto.png","language":"Go","readme":"# num\n\n[![GoDoc](https://godoc.org/github.com/xyproto/num?status.svg)](http://godoc.org/github.com/xyproto/num)\n\nGo module for dealing with fractions, and a utility for dividing two numbers and returning the simplified fraction.\n\n## Example use\n\n    \u003e frac 2/5\n    ⅖\n    \u003e frac 0.8\n    ⅘\n    \u003e frac 123\n    123\n\nUse only 100 iterations when creating a fraction that represents the given float:\n\n    \u003e frac -m 100 0.777777777\n    10/13\n\n## Installation\n\n    go install github.com/xyproto/num/cmd/frac@latest\n\n## General info\n\n* License: BSD-3\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fnum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Fnum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fnum/lists"}