{"id":21031539,"url":"https://github.com/slaveofcode/ng-decimal","last_synced_at":"2026-04-17T05:02:17.156Z","repository":{"id":92795364,"uuid":"146721329","full_name":"slaveofcode/ng-decimal","owner":"slaveofcode","description":"A fork from https://github.com/brunoporto/ng-decimal which is currently already removed from github","archived":false,"fork":false,"pushed_at":"2018-08-30T08:43:22.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T10:06:12.485Z","etag":null,"topics":["angularjs","decimal","ng-decimal"],"latest_commit_sha":null,"homepage":null,"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/slaveofcode.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":"2018-08-30T08:41:48.000Z","updated_at":"2018-08-30T08:43:42.000Z","dependencies_parsed_at":"2023-08-22T22:31:44.922Z","dependency_job_id":null,"html_url":"https://github.com/slaveofcode/ng-decimal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slaveofcode/ng-decimal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fng-decimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fng-decimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fng-decimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fng-decimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slaveofcode","download_url":"https://codeload.github.com/slaveofcode/ng-decimal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fng-decimal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["angularjs","decimal","ng-decimal"],"created_at":"2024-11-19T12:29:12.197Z","updated_at":"2026-04-17T05:02:17.135Z","avatar_url":"https://github.com/slaveofcode.png","language":"JavaScript","readme":"ng-decimal\n==========\n\nAngularJS Directive for decimal numbers.\n\nMain features:\n\n* Permits work with decimal numbers\n* Has a decimal limiter\n* The only required dependency is angular!\n* Input value is always filtered with locale number when load and on blur (with the decimal limit).\n\n## Bower\n\nYou may install it via bower using\n\n`bower install ng-decimal`\n\n## How to use\n\n\n+ Include the required libraries:\n\n\u003e\n``` html\n\u003cscript src=\"/path/to/angular.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"/path/to/ng-decimal.js\"\u003e\u003c/script\u003e\n```\n\n+ Inject the `ngDecimal` module into your app:\n\n\u003e\n``` JavaScript\nangular.module('myApp', ['ng-decimal']);\n```\n\n+ In your input tag\n\n\u003e\n``` html\n\u003cinput type=\"text\" model=\"yourModel\" ng-decimal /\u003e\n```\n\n+ It is also possible to add 'max decimal'\n\n\u003e\n``` html\n\u003cinput type=\"text\" model=\"yourModel\" ng-decimal decimal=\"3\" /\u003e\n```\n\n+ If you want to be able to dynamically change maxdecimal\n\n\u003e\n``` html\n\u003cinput type=\"text\" model=\"yourModel\" ng-decimal decimal=\"my_scope_variable\" /\u003e\n```\n\n## Authors\n\n**Bruno Porto**\n\n+ http://github.com/brunoporto\n\n\n## Copyright and license\n\n\tThe MIT License\n\n\tCopyright (c) 2012 - 2014 Olivier Louvignes\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaveofcode%2Fng-decimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslaveofcode%2Fng-decimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaveofcode%2Fng-decimal/lists"}