Skip to content
JS
Package

@stdlib/math-base-special-trunc

Round a double-precision floating-point number toward zero.

v0.2.3, 4 Feb 2026Apache-2.0CommonJSTypes: BundledNumbers and mathsPolyfills and shims
$ npm install @stdlib/math-base-special-trunc

Key numbers

As of 25 Sept 2026
Weekly downloads
205.9k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
7 months ago
v0.2.3
GitHub stars
2
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
11

No weekly download data in the snapshot.

205,937 downloads last week, 1,205,954 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.2.3, 4 Feb 20267 months ago
First published
-
Last push to GitHub
29 Aug 202627 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
11
Dependents on npm
17

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
33 kB
Dependencies (4)
@stdlib/math-base-napi-unary@stdlib/math-base-special-ceil@stdlib/utils-library-manifest@stdlib/math-base-special-floor
npm install @stdlib/math-base-special-trunc
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@stdlib/math-base-special-trunc@0.2.3/
  • unpkghttps://unpkg.com/@stdlib/math-base-special-trunc@0.2.3/
  • esm.shhttps://esm.sh/@stdlib/math-base-special-trunc@0.2.3
PackageWeekly downloadsGzipLast releaseModuleComparison
math-clamp-x9.3k-7 years agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.