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

NEW Federal Electronic Indicator Transducer Probe EAS-2104-W2 -
$10.0
NEW Federal Electronic Indicator Transducer Probe EAS-2104-W2 - pictureNEW MAMAC PRESSURE TRANSDUCER PR-274-R3-MA
$44.99
NEW MAMAC PRESSURE TRANSDUCER PR-274-R3-MA  pictureNew 3D Laptop Ultrasound Scanner/Ultrasonic Machine +Convex Transducer probe CE
$1119.0
New 3D  Laptop Ultrasound Scanner/Ultrasonic Machine +Convex Transducer probe CE pictureGood Quality Ultrasound Machine for Vet diagnosis+3.5Mhz CONVEX TRANSDUCER
$1348.99
Good Quality Ultrasound Machine for Vet diagnosis+3.5Mhz CONVEX TRANSDUCER pictureKeller PR-35X -0,5 .. +0,5 bar Pressure Transmitter Transducer Sensor
$69.0
Keller PR-35X -0,5 .. +0,5 bar Pressure Transmitter Transducer Sensor picture






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