Skip to content

radiovisual/ascii-decimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Related

  • ascii-hex Get the hexadecimal value of an ASCII character

License

MIT © Michael Wuergler

About

Get the decimal value of an ASCII character

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published