Java SME Regarding formating the thousands separator.
Show older comments
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)
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!