Opened 10 years ago

Closed 10 years ago

#15387 closed enhancement (invalid)

More Information About Patterns in dijit.form.NumberTextBox & dijit.form.NumberSpinner

Reported by: Fergus Hadley Owned by: haysmark
Priority: undecided Milestone: tbd
Component: Documentation Version: 1.7.2
Keywords: Cc: Adam Peller
Blocked By: Blocking:


It is difficult to see how to write specific patterns to format the number-based dijits. It would be very useful if someone with a good understanding of the code could add something to the docs:

Change History (4)

comment:1 Changed 10 years ago by bill

Owner: set to Douglas Hays
Status: newassigned

comment:2 Changed 10 years ago by Douglas Hays

Cc: Adam Peller added
Owner: changed from Douglas Hays to haysmark

peller, is there number pattern (#,#0.#00) doc that I can point to?

comment:3 Changed 10 years ago by Adam Peller

There's a link in the inline documentation for the pattern prop in dojo/number Unfortunately, I don't think the API parser has picked this up for a while.

I think the unicode stuff is based off the Java NumberFormat class.

comment:4 Changed 10 years ago by haysmark

Resolution: invalid
Status: assignedclosed

Both of the cited pages link here:

This page gives the Unicode table inline and Adam's link to the full Unicode description of the format.

Note: See TracTickets for help on using tickets.