public class GlueNumberFormatUtil extends Object
Constructor and Description |
---|
GlueNumberFormatUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
formatCurrency(Locale locale,
Number number)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î Åëȸ¦ º¯È¯ÇÑ´Ù.
|
static String |
formatCurrency(Locale locale,
Number number,
boolean groupingUsed)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î Åëȸ¦ º¯È¯ÇÑ´Ù.
|
static String |
formatCurrency(Number number)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î Åëȸ¦ º¯È¯ÇÑ´Ù.
|
static String |
formatCurrency(Number number,
boolean groupingUsed)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î Åëȸ¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Locale locale,
Number number)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Locale locale,
Number number,
boolean groupingUsed)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Locale locale,
Number number,
boolean groupingUsed,
int maxFactionDigits)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Locale locale,
Number number,
int maxFactionDigits)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Number number)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Number number,
boolean groupingUsed)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Number number,
boolean groupingUsed,
int maxFactionDigits)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatNumber(Number number,
int maxFactionDigits)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ¼ýÀÚ¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Locale locale,
Number number)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Locale locale,
Number number,
boolean groupingUsed)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Locale locale,
Number number,
boolean groupingUsed,
int maxFactionDigits)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Locale locale,
Number number,
int maxFactionDigits)
Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Number number)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Number number,
boolean groupingUsed)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Number number,
boolean groupingUsed,
int maxFactionDigits)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
static String |
formatPercent(Number number,
int maxFactionDigits)
±âº» Locale¿¡ ÇØ´çÇÏ´Â Çü½ÄÀ¸·Î ÆÛ¼¾Æ®¸¦ º¯È¯ÇÑ´Ù.
|
public static String formatNumber(Number number)
number
- ¼ýÀÚpublic static String formatNumber(Locale locale, Number number)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚpublic static String formatNumber(Number number, boolean groupingUsed)
number
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎpublic static String formatNumber(Locale locale, Number number, boolean groupingUsed)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎpublic static String formatNumber(Number number, int maxFactionDigits)
number
- ¼ýÀÚmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatNumber(Locale locale, Number number, int maxFactionDigits)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatNumber(Number number, boolean groupingUsed, int maxFactionDigits)
number
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatNumber(Locale locale, Number number, boolean groupingUsed, int maxFactionDigits)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatCurrency(Number number)
number
- ¼ýÀÚpublic static String formatCurrency(Locale locale, Number number)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚpublic static String formatCurrency(Number number, boolean groupingUsed)
number
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎpublic static String formatCurrency(Locale locale, Number number, boolean groupingUsed)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎpublic static String formatPercent(Number number)
number
- ¼ýÀÚpublic static String formatPercent(Locale locale, Number number)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚpublic static String formatPercent(Number number, boolean groupingUsed)
number
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎpublic static String formatPercent(Locale locale, Number number, boolean groupingUsed)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎpublic static String formatPercent(Number number, int maxFactionDigits)
number
- ¼ýÀÚmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatPercent(Locale locale, Number number, int maxFactionDigits)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatPercent(Number number, boolean groupingUsed, int maxFactionDigits)
number
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öpublic static String formatPercent(Locale locale, Number number, boolean groupingUsed, int maxFactionDigits)
locale
- ·ÎÄÉÀÏnumber
- ¼ýÀÚgroupingUsed
- ±×·ì ºÐ¸®±âÈ£ Æ÷ÇÔ ¿©ºÎmaxFactionDigits
- º¯È¯µÈ ¹®ÀÚ¿¿¡¼ Ãâ·ÂÇÒ ¼Ò¼öÁ¡ ÀÌÇÏ ÃÖ´ë ÀÚ¸®¼öCopyright © 2013–2016 POSCO ICT. All rights reserved.