math-trunc

WebJar for math-trunc

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

math-trunc
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

math-trunc
WebJar for math-trunc
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/kevva/math-trunc

Download math-trunc

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/math-trunc/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>math-trunc</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/math-trunc/
implementation 'org.webjars.npm:math-trunc:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/math-trunc/
implementation ("org.webjars.npm:math-trunc:1.0.1")
'org.webjars.npm:math-trunc:jar:1.0.1'
<dependency org="org.webjars.npm" name="math-trunc" rev="1.0.1">
  <artifact name="math-trunc" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='math-trunc', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "math-trunc" % "1.0.1"
[org.webjars.npm/math-trunc "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

math-trunc Build Status

ES6 Math.trunc() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

Install

$ npm install math-trunc

Usage

const mathTrunc = require('math-trunc');

mathTrunc(13.37);
//=> 13

mathTrunc(-0.123);
//=> -0

License

MIT © Kevin Mårtensson

Versions

Version
1.0.1