changing a fraction to integer !!
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 10 Feb 2013
Modificato: Azzi Abdelmalek
il 10 Feb 2013
fix(a)
Other rounding function:
help floor
help ceil
help round
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Downloads in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!