how to store two decimal point number in array

I have some data like 0.23456789 and i want to store it in array like 0.23..Can anyone tell how to store in array?

回答 (1 件)

per isakson
per isakson 2014 年 5 月 4 日
編集済み: per isakson 2014 年 5 月 7 日

0 投票

val = round( 100*val ) /100;

カテゴリ

製品

タグ

質問済み:

2014 年 5 月 4 日

編集済み:

2014 年 5 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by