All Projects → shrpne → from-exponential

shrpne / from-exponential

Licence: MIT license
Lightweight module to convert number from exponential notation to a human readable string.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to from-exponential

persian
Some utilities for Persian language in Go (Golang)
Stars: ✭ 65 (+140.74%)
Mutual labels:  convert, number
terbilang
Sebuah pustaka untuk menterjemahkan angka ke dalam bilangan Bahasa Indonesia
Stars: ✭ 46 (+70.37%)
Mutual labels:  number
Fonteditor Core
fonteditor core functions
Stars: ✭ 207 (+666.67%)
Mutual labels:  convert
omr-research.github.io
The definitive bibliography for research on Optical Music Recognition
Stars: ✭ 21 (-22.22%)
Mutual labels:  scientific
Markdown Pdf
Convert markdown to pdf, png or jpeg on the fly in Atom
Stars: ✭ 250 (+825.93%)
Mutual labels:  convert
ChangeNumbersJs
Tiny Library for change number from a language in other language.
Stars: ✭ 14 (-48.15%)
Mutual labels:  number
Gelatin
Transform text files to XML, JSON, or YAML
Stars: ✭ 150 (+455.56%)
Mutual labels:  convert
convert-ebook
转换电子书格式(azw3、epub、mobi)
Stars: ✭ 97 (+259.26%)
Mutual labels:  convert
break infinity.js
A replacement for decimal.js for incremental games who want to deal with very large numbers (bigger in magnitude than 1e308, up to as much as 1e(9e15) ) and want to prioritize speed over accuracy.
Stars: ✭ 145 (+437.04%)
Mutual labels:  number
phonenumber
With a given country and phone number, validate and format the MOBILE phone number to E.164 standard
Stars: ✭ 108 (+300%)
Mutual labels:  number
max-safe-integer
ES2015 Number.MAX_SAFE_INTEGER ponyfill
Stars: ✭ 15 (-44.44%)
Mutual labels:  number
X2struct
Convert between json string and c++ object. json字符串和c++结构体之间互相转换
Stars: ✭ 251 (+829.63%)
Mutual labels:  convert
HEIF
Mac OS X: Convert any image to HEIF/HEIC format
Stars: ✭ 58 (+114.81%)
Mutual labels:  convert
Termsql
Convert text from a file or from stdin into SQL table and query it instantly. Uses sqlite as backend. The idea is to make SQL into a tool on the command line or in scripts.
Stars: ✭ 230 (+751.85%)
Mutual labels:  convert
matplotnim
A Nim wrapper for matplotlib
Stars: ✭ 22 (-18.52%)
Mutual labels:  scientific
Xresloader
跨平台Excel导表工具(Excel=>protobuf/msgpack/lua/javascript/json/xml)
Stars: ✭ 161 (+496.3%)
Mutual labels:  convert
Flacon
Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks.
Stars: ✭ 252 (+833.33%)
Mutual labels:  convert
ttml2srt
convert TTML subtitles to SRT subtitles
Stars: ✭ 46 (+70.37%)
Mutual labels:  convert
Random-Number-Generator
A clean, simple random number generator for Android. Downloaded 180,000+ times and rated 2,000+ times on Google Play with 4.7+ average rating.
Stars: ✭ 30 (+11.11%)
Mutual labels:  number
node-pdftocairo
📃 Node.js wrapper for pdftocairo - PDF to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo
Stars: ✭ 17 (-37.04%)
Mutual labels:  convert

from-exponential

NPM Package Minified Size Build Status Coverage Status License: MIT

Lightweight module to convert number from exponential notation to a human readable string.

Works opposite to Number.prototype.toExponential()

Install

npm install from-exponential

Usage

import fromExponential from 'from-exponential';

fromExponential(1.123e-10); // => '0.0000000001123'
fromExponential('-12.123e-1'); // => '-1.2123'
fromExponential(Number.MAX_VALUE); // => '179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'

Related

It is complemented by the following packages:

  • pretty-num all-in-one solution for pretty numbers: format exponential, add thousands separator, reduce decimal precision
  • thousands add thousands separators

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].