Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@happy-gastro/hungarian-round-numbers
Advanced tools
Round hungarian cash payments up or down depends on amount
A simple utility function for rounding numbers according to specific Hungarian (Ft or HUF) rounding rules at payments.
npm install @happy-gastro/hungarian-round-numbers
const hungarianRoundNumbers = require('@happy-gastro/hungarian-round-numbers');
or
import {hungarianRoundNumbers} from "@happy-gastro/hungarian-round-numbers"
console.log(hungarianRoundNumbers(130)); // Output: 130
console.log(hungarianRoundNumbers(134)); // Output: 135
console.log(hungarianRoundNumbers(132)); // Output: 130
console.log(hungarianRoundNumbers(138)); // Output: 140
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is developed and maintained by Farkas Ferenc.
Happy Gastro Ltd.
FAQs
Round hungarian cash payments up or down depends on amount
We found that @happy-gastro/hungarian-round-numbers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.