Java SME Regarding formating the thousands separator.

I have this error when i use java to format thousand separator for "hist_rev". It works if when hist_rev is 1,1 but not when it s one dim vector. I can not come up with a solution to this. I appreciate if you suggest a solution. Regards, Nazmi
>> ho= char(inf.format(hist_rev)) Java exception occurred: java.lang.IllegalArgumentException: Cannot format given Object as a Number
at java.text.DecimalFormat.format(Unknown Source)
at java.text.Format.format(Unknown Source)

Answers (0)

Tags

Asked:

nt
on 17 Dec 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!