Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

get-signed-32-bit-int

Jameskmonger409MIT1.0.0TypeScript support: included

Convert a number into a signed 32 bit integer.

32 bit, 32-bit, signed, two's complement, bitwise, math

readme

get-signed-32-bit-int

Get a number as a signed 32 bit integer.

Installation

$ npm install get-signed-32-bit-int --save

Usage

import getSigned32BitInt from "get-signed-32-bit-int";

getSigned32BitInt(2147483647 + 100) // -2147483549

License

get-32-bit-int is licensed under The MIT License. To see the full license text included with the project, visit the LICENSE file.