---
title: "Discussion on \"How-To: Java isDigit() Character function\" | Hashnode"
description: "Discussion on \"How-To: Java isDigit() Character function\". Sometimes it is helpful to know if a character is a digit (0-9) or not.\nThe Java built-in Character class provides an isDigit() function that determines if a character is a digit or not.\nHere is an example. First, here are two character values to tes..."
url: "https://hashnode.com/posts/how-to-java-isdigit-character-function/618a5af9f991b025366df6dd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How-To: Java isDigit() Character function](https://edtorres.hashnode.dev/how-to-java-isdigit-character-function?utm_source=hashnode&utm_medium=feed)

Sometimes it is helpful to know if a character is a digit (0-9) or not. The Java built-in Character class provides an isDigit() function that determines if a character is a digit or not. Here is an example. First, here are two character values to tes...

Nov 9, 2021 · 2 min read · edtorres.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Edwin Torres](https://hashnode.com/@realEdwinTorres)

@realEdwinTorres · US

  
[View profile](https://hashnode.com/@realEdwinTorres)

Writing code for a living

Husband. Father. Software engineer @MITREcorp. Lecturer. Helping you code. The opinions expressed in this blog are my own. #JavaScript #NodeJS #Java #Python

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
