Re: Number format #

2011-02-25 Thread PARAG
); } Yegor On Feb 24, 1:45 am, PARAG paragbchaudh...@gmail.com wrote: Hi, I have number format defined as #. For value 0 I am expecting it to be empty but it shows 0 value. Is any thing I can do here to get the correct behavior? Thank you -- You received this message because you

Number format #

2011-02-24 Thread PARAG
Hi, I have number format defined as #. For value 0 I am expecting it to be empty but it shows 0 value. Is any thing I can do here to get the correct behavior? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: Number format #

2011-02-24 Thread Yegor
number format defined as #. For value 0 I am expecting it to be empty but it shows 0 value. Is any thing I can do here to get the correct behavior? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Illegal argument type for number format error during gwt compile when trying to use {0,number} or {0,number,integer} in a message bundle properties file

2010-11-18 Thread ips
] [ERROR] Illegal argument type for number format [INFO][ERROR] Errors in 'file:/home/ips/Projects/rhq/modules/ enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/ client/CoreGUI.java' [INFO] [ERROR] Line 129: Failed to resolve

number format

2009-12-30 Thread jon...@gmail.com
Hi there I need to format a value double example: 10.10154564654654 I need to format this value to 10.10 for example How I do it?? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: number format

2009-12-30 Thread Arthur Kalmenson
This is probably what you're looking for: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/i18n/client/NumberFormat.html -- Arthur Kalmenson On Wed, Dec 30, 2009 at 7:48 AM, jon...@gmail.com jon...@gmail.com wrote: Hi there I need to format a value double example:

Re: number format

2009-12-30 Thread mariyan nenchev
Hi, may be you should look at the NumberFormat in gwt. But it you may also write a simple native method that do this: Here: public static native String toFixed(double number, int decimalPlaces) /*-{ return number.toFixed(decimalPlaces); }-*/; So if you call: toFixed(10.10154564654654, 2) = 10.10