ascii-decimal

1.0.0 • Public • Published

ascii-decimal

Get the decimal value of an ASCII character

Build Status

Install

$ npm install --save ascii-decimal

Usage

const decimal = require('ascii-decimal');
 
decimal('A');
//=> 65

API

asciiDecimal(input)

Returns the decimal value of the ASCII character

input

Type: string

The ASCII character you want to convert to decimal.

License

MIT © Michael Wuergler

Dependents (1)

Package Sidebar

Install

npm i ascii-decimal

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • radiovisual