toDecimal

Summary

Returns the decimal (base 10) value of the character.

Usage

public string toDecimal()

Returns

The decimal representation of the character.

Description

Returns the decimal (base 10) representation of the character value as a string.

Examples

Basic Usage
1
2
3
`a`.toDecimal(); // "97"
`b`.toDecimal(); // "98"
`c`.toDecimal(); // "99"

Share

HTML | BBCode | Direct Link