---
title: "#o-x-f-e-s-c articles | Hashnode"
description: "Explore 1 articles tagged #o-x-f-e-s-c on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/o-x-f-e-s-c"
---

Tag

# #o-x-f-e-s-c

1 posts · 0 followers

[Han](https://hashnode.com/@EunHaSu) · [Feb 3, 2024](https://hashnode.com/posts/how-to-use-format-strings/65beb2718b39ecaae81ef61f)

### [How to Use Format Strings (%)](https://eunhanlee.hashnode.dev/how-to-use-format-strings?utm_source=hashnode&utm_medium=feed)

%d Data Type: Decimal byte, short, int, long Example Usage: String temp = String.format("%d", 29); System.out.println(temp); // 29 %\[Number\]d Data Type: Decimal byte, short, int, long Example Usage: String temp = String.format("%5d", 29); System.out...

1 min read · [eunhanlee.hashnode.dev](https://eunhanlee.hashnode.dev/how-to-use-format-strings?utm_source=hashnode&utm_medium=feed)
