---
title: "#string-less-greater-number articles | Hashnode"
description: "Explore 1 articles tagged #string-less-greater-number on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/string-less-greater-number"
---

Tag

# #string-less-greater-number

1 posts · 0 followers

[Han](https://hashnode.com/@EunHaSu) · [Jul 1, 2022](https://hashnode.com/posts/how-to-cast-string-less-greater-number-integer-less-greater-decimal-in-java/62bf1302e4246414d3d31109)

### [How to cast (String <-> number, integer <-> decimal) in Java](https://eunhanlee.hashnode.dev/how-to-cast-string-less-greater-number-integer-less-greater-decimal-in-java?utm_source=hashnode&utm_medium=feed)

String to number 문자 -> 숫자 String strNum = "10"; int i\_num = Integer.parseInt(strNum); //return int int i\_num2 = Integer.valueOf(strNum);//return integer, call parseInt double d\_num = Double.parseDouble(strNum); //return double double d\_num2 = Doubl...

1 min read · [eunhanlee.hashnode.dev](https://eunhanlee.hashnode.dev/how-to-cast-string-less-greater-number-integer-less-greater-decimal-in-java?utm_source=hashnode&utm_medium=feed)
