Java ASCII from toAscii(char ch)

Here you can find the source of toAscii(char ch)

Description

to Ascii

License

Open Source License

Declaration

public static int toAscii(char ch) 

Method Source Code

//package com.java2s;

public class Main {

    public static int toAscii(char ch) {
        if (ch <= 0xFF) {
            return ch;
        }//w  ww. j a  v a2s.c o  m
        return 0x3F;
    }
}

Related

  1. toAscii(byte[] b)
  2. toAscii(byte[] ba)
  3. toAscii(char source)
  4. toAscii(int i, boolean reversed)
  5. toAscii(int number)
  6. toAscii(String hexStr)