Here you can find the source of CharToASCII(final char character)
Parameter | Description |
---|---|
character | character |
public static int CharToASCII(final char character)
//package com.java2s; public class Main { /**/* w ww.ja v a 2 s .c om*/ * Convert the characters to ASCII value * * @param character character * @return ASCII value */ public static int CharToASCII(final char character) { return (int) character; } }