BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-22-2007, 02:46 PM   #1 (permalink)
New Member
 
Join Date: Mar 2007
Model: 7190
Carrier: nothing
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default using MessageFormat !!!!!!

Please Login to Remove!

hello averybody!

i have this function:

public String FormatMoneda(float i)
{
MessageFormat mf = new MessageFormat("{0,number,$,#,###.##}");
Object[] objs = {new Float ( i )};
String result = mf.format( objs );
objs = null;
return result;
}

why when run the aplicattion, the program stoped in the fist line causing the error "Uncaught exception thrown - IllegalArgumentException"... i need use or

install any more or the pattern in not a correct!!!!

i using the jde 4.1
thanks
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

UU1: Vintage Apple Powerbook Low Power AC Adapter ADP-17AB
$19.99
UU1: Vintage Apple Powerbook Low Power AC Adapter ADP-17AB pictureVintage Jaffrey Mfg. Co. Apple Grinder Fruit Press Cast Iron
$120.0
Vintage Jaffrey Mfg.  Co. Apple Grinder Fruit Press Cast Iron  pictureApple Macintosh IIcx M5850 - Vintage
$32.8
Apple Macintosh IIcx M5850 - Vintage pictureApple Vintage Collection 399
$109000.0
Apple Vintage Collection 399 pictureVINTAGE LOT APPLE McIntosh Delicious Cortland Rome CUT LETTERPRESS PRINTING
$9.99
VINTAGE LOT APPLE McIntosh Delicious Cortland Rome CUT LETTERPRESS PRINTING    picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.