https://github.com/hakatashi/technically
Get the exact value of the number
https://github.com/hakatashi/technically
javascript joke npm-module numbers-to-text
Last synced: about 1 month ago
JSON representation
Get the exact value of the number
- Host: GitHub
- URL: https://github.com/hakatashi/technically
- Owner: hakatashi
- Created: 2016-08-20T05:47:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T15:30:40.000Z (about 1 year ago)
- Last Synced: 2024-04-14T07:42:44.339Z (about 1 year ago)
- Topics: javascript, joke, npm-module, numbers-to-text
- Language: LiveScript
- Size: 1.47 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
technically
===========[![npm version][npm-image]][npm-url]
[![test][actions-image]][actions-url][npm-image]: https://img.shields.io/npm/v/technically.svg
[npm-url]: https://www.npmjs.com/package/technically
[actions-image]: https://github.com/hakatashi/technically/actions/workflows/test.yml/badge.svg
[actions-url]: https://github.com/hakatashi/technically/actions/workflows/test.yml> Get the “exact value” of the number
This module works basically like Number.prototype.toString(), but more *technically*.
[](http://xkcd.com/1475/)
```js
const technically = require('technically');technically(100); //=> '100'
(1e24).toString(); //=> '1e+24'
technically(1e24); //=> '999999999999999983222784'(0.1).toString(); //=> '0.1'
technically(0.1); //=> '0.1000000000000000055511151231257827021181583404541015625'(-0).toString(); //=> '0'
technically(-0); //=> '-0'
```