フィルターのクリア

changing a fraction to integer !!

9 ビュー (過去 30 日間)
Ahmed
Ahmed 2013 年 2 月 10 日
how can i make a fraction number be integer !! stupid question but i really need help, if x =10.1 , i need it 10 and also if it is 10.99 i need it 10 not 11 !! can any one help :) Thx in Advance

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 10 日
編集済み: Azzi Abdelmalek 2013 年 2 月 10 日
fix(a)
Other rounding function:
help floor
help ceil
help round
  1 件のコメント
Ahmed
Ahmed 2013 年 2 月 10 日
you are a great man Azzi :), thx for your fast reply Respect from Egypt

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by