Round a number to a specific number of decimal places: 1.234 → 1.2
☆159Sep 17, 2025Updated 7 months ago
Alternatives and similar repositories for round-to
Users that are interested in round-to are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Count the number of lines in a string☆10Apr 17, 2016Updated 10 years ago
- Get a random item from an array☆58Mar 28, 2022Updated 4 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 10 months ago
- Exclude certain items from an array☆24Jun 13, 2025Updated 10 months ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Generate a random float☆37Apr 18, 2021Updated 5 years ago
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 5 years ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 4 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Check if a value is an object☆42Apr 16, 2021Updated 5 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆38Mar 4, 2026Updated last month
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 7 months ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 7 months ago
- Clamp a number☆17Jul 12, 2025Updated 9 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Provides a uniquely named temp directory☆13Jan 6, 2020Updated 6 years ago
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 5 years ago
- Node.js 0.12 util.debuglog() ponyfill☆20Oct 30, 2023Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Support any Observable library and polyfill☆74Feb 2, 2026Updated 2 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- Get a Gravatar image☆10Oct 25, 2015Updated 10 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Wordpress hosting with auto-scaling - Free Trial • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated 2 months ago
- Check if a domain is public☆15Aug 10, 2021Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 4 years ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated 7 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 2 months ago
- Application level sharding made simple!☆10Mar 25, 2017Updated 9 years ago