formatNumber

Purpose

Allows the formatting of numbers using the same patterns defined by the DecimalFormat class.

Examples

<g:formatNumber number="${myNumber}" format="\\$###,##0" />

Description

Attributes

Source

Show Source