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

Female Quick-Release Threaded Valve for Vacuum Cylinders 2 Pack
$16.49
Female Quick-Release Threaded Valve for Vacuum Cylinders 2 Pack pictureDental Vacuum Pump Matrx Max 1000 1 HP
$199.0
Dental Vacuum Pump Matrx Max 1000 1 HP  pictureORION DRY-PUMP KH 410
$200.0
ORION DRY-PUMP   KH 410 pictureWilkins 3/4 inch 720-A PVB Pressure Vacuum Breaker
$50.0
Wilkins 3/4 inch 720-A PVB Pressure Vacuum Breaker picture1-Inch - Wilkins Pressure Vacuum Breaker
$50.0
1-Inch - Wilkins Pressure Vacuum Breaker picture






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