Details
Description
As of now if g:formatNumber is used with NaN value, the default value of DecimalFormatSymbols is returned (\uFFFD). This does not look nice in HTML output.
We should have a way to customize the appearance of NaN values on the webpage. This could be easily done by adding a new attribute:
<g:formatNumber number="${Double.NaN}" nan="n/a"/>
Obviously the Output should be "n/a"
I've already fixed this locally and send a pull request soon.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 2.1 [ 12801 ] | |
| Assignee | Graeme Rocher [ graemerocher ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |