{"id":39625907,"url":"https://github.com/klaucode/eurocent-round","last_synced_at":"2026-01-18T08:35:23.804Z","repository":{"id":65552282,"uuid":"518598292","full_name":"klaucode/eurocent-round","owner":"klaucode","description":"Function to round value to rounder value","archived":false,"fork":false,"pushed_at":"2022-07-27T20:38:33.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T05:53:54.990Z","etag":null,"topics":["euro","finance","money","round"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klaucode.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}},"created_at":"2022-07-27T20:10:47.000Z","updated_at":"2022-07-27T20:22:38.000Z","dependencies_parsed_at":"2023-01-29T00:55:10.538Z","dependency_job_id":null,"html_url":"https://github.com/klaucode/eurocent-round","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klaucode/eurocent-round","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaucode%2Feurocent-round","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaucode%2Feurocent-round/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaucode%2Feurocent-round/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaucode%2Feurocent-round/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klaucode","download_url":"https://codeload.github.com/klaucode/eurocent-round/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaucode%2Feurocent-round/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["euro","finance","money","round"],"created_at":"2026-01-18T08:35:23.745Z","updated_at":"2026-01-18T08:35:23.798Z","avatar_url":"https://github.com/klaucode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eurocent-round\n\nOnly single function `round` to round money value to 0.5 eurocent or any other required rounder.\n\n*How to use:*\n```\nconst round = require('eurocent-round');\n\nconst eurValue = 124.27;\n\nconst eurValueRounded = round(eurValue); // Return 124.5\n\n```\n\n*With the same way you can round to 0.05 with using second parameter of `round` function:*\n\n```\nconst eurValue = 124.27;\n\n// Set second rounder parameter to 0.05\nconst eurValueRounded = round(eurValue, 0.05); // Return 124.25\n```\n\n*Inside package is also available a mocha test:*\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklaucode%2Feurocent-round","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklaucode%2Feurocent-round","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklaucode%2Feurocent-round/lists"}