'formatDate'에 해당되는 글 1

  1. 2009.05.06 JSTL - fmt

JSTL - fmt



<fmt:formatNumber  value="12345" pattern=".#"/> //12345.0
<fmt:formatNumber  value="12345" pattern=".0"/> //12345.0

<fmt:formatNumber  value="12345.6789" type="number" pattern="#.#####"/> //12,345.6789
<fmt:formatNumber  value="12345.67890" type="number" pattern="#.#####"/> //12,345.6789
<fmt:formatNumber  value="12345.67890" type="number" pattern="#.00000"/> //12,345.67890