On 08/11/2008, at 12:13 PM, Chuck Hill wrote:

Punt? I might be a bug in NSNumberFormatter. I usually use the formatter binding rather than the format string bindings (dateFormat and numberFormat). You could try that and pass back an instance of a Java formatter, e.g. java.text.NumberFormat.

Thanks Chuck. 'DecimalFormat("#.######")' seems to work how I assumed 'numberFormat' would.

FWIW, another workaround was to call 'doubleValue()' on the BigDecimal in the 'value' binding, though obviously there's potentially a loss of precision here.


--
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to