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

MAX6675 K-type Thermocouple Temperature Sensor 0-1024 Degrees Sensor for Arduino
$3.42
MAX6675 K-type Thermocouple Temperature Sensor 0-1024 Degrees Sensor for Arduino pictureTHERMOCOUPLES-5MM
$40.0
THERMOCOUPLES-5MM picture a12100600ux0263 pair k type orange plastic shell male to female thermocouple
$6.89
 a12100600ux0263 pair k type orange plastic shell male to female thermocouple picture ventless thermocouple, model# tc
$29.16
 ventless thermocouple, model# tc pictureWATLOW K20-2-509 1000ft Brown Thermocouple Cable, 20AWG, 2C, SHLD, SOL
$199.99
WATLOW K20-2-509 1000ft Brown Thermocouple Cable, 20AWG, 2C, SHLD, SOL picture






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