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)

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall Java from MATLAB についてさらに検索

タグ

質問済み:

nt
2012 年 12 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by