{"id":15672909,"url":"https://github.com/markrickert/mrcurrencyround","last_synced_at":"2025-05-06T22:08:57.892Z","repository":{"id":1916027,"uuid":"2843651","full_name":"markrickert/MRCurrencyRound","owner":"markrickert","description":"A simple NSNumber class extension that provides better formatting for currency. Use this to correctly round an NSNumber to the 2nd decimal point based on standard \"round half-up\" methodology in order to calculate tax and percentages of currency, etc.","archived":false,"fork":false,"pushed_at":"2014-07-14T15:28:20.000Z","size":160,"stargazers_count":14,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T22:08:49.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/markrickert.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":"2011-11-24T13:51:00.000Z","updated_at":"2025-02-14T15:50:03.000Z","dependencies_parsed_at":"2022-09-08T12:11:36.297Z","dependency_job_id":null,"html_url":"https://github.com/markrickert/MRCurrencyRound","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FMRCurrencyRound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FMRCurrencyRound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FMRCurrencyRound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FMRCurrencyRound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markrickert","download_url":"https://codeload.github.com/markrickert/MRCurrencyRound/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776581,"owners_count":21802468,"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":[],"created_at":"2024-10-03T15:33:28.328Z","updated_at":"2025-05-06T22:08:57.858Z","avatar_url":"https://github.com/markrickert.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MRCurrencyRound\n\nA simple NSNumber class extension that provides better formatting for currency.\n\nUse this to correctly round an NSNumber to the 2nd decimal point based on standard \"round half-up\" methodology in order to calculate tax and percentages of currency, etc.\n\n## How to install:\n\nIf you're not using [CocoaPods](http://cocoapods.org/), you should be. Simply add ```pod 'MRCurrencyRound'``` to your ```Podfile```\n\n## How to use:\n\nAfter you've got the pod installed into your project's workspace, you can use the methods ```NSNumber.currencyRound``` and ```NSNumber.currencyString``` to return properly formatted currency objects.\n\n### Example:\n\n```\nNSNumber *example = [NSNumber alloc] initWithFloat:43.652443f];\nNSLog(@\"Currency String: %@\", example.currencyString);\n// Currency String: $43.65\n// Or whatever your local currency format is (€43.65 or 43.65DKK)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkrickert%2Fmrcurrencyround","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkrickert%2Fmrcurrencyround","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkrickert%2Fmrcurrencyround/lists"}