Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Java
java get an int from a char
kuldeep singh
Programming language:
Java
2021-06-14 23:34:29
0
Q:
java get an int from a char
clifton_h
Code:
Java
2021-08-08 05:23:21
char charValue = '2'; int intValue = Character.getNumericValue(charValue); // 2
7
Tags
get
java
int
Related
find the frequency of characters in a string in java
how to get ascii value of string letter in java
java convert char to int
get certain character from string java
java input character
what is a char in java
get first character of string java
how to add a number to the ascii value of a char in java
converting char to int in java
convert from integer to character java
how to get int from string java
java print out int and string
input char java
get first 5 characters of string java
counting the number of characters in a string java
string char at java
java get first char
int to char java
number to char java
New to Communities?
Join the community