Filter löschen
Filter löschen

changing a fraction to integer !!

9 Ansichten (letzte 30 Tage)
Ahmed
Ahmed am 10 Feb. 2013
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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 10 Feb. 2013
Bearbeitet: Azzi Abdelmalek am 10 Feb. 2013
fix(a)
Other rounding function:
help floor
help ceil
help round
  1 Kommentar
Ahmed
Ahmed am 10 Feb. 2013
you are a great man Azzi :), thx for your fast reply Respect from Egypt

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by