How to check decimals of a number in MATLAB?
59 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ivan Mich
am 12 Okt. 2022
Bearbeitet: Ivan Mich
am 12 Okt. 2022
Hello,
I have a question about a code. I would like to check if a value has a decimal equal to 0.5 (e.g., 5.5, 7.5 etc. ) or has a decimal equal to 0 (zero) (I mean to be integer, for example 7,5,6 etc. ).
Which command should I use? Could you please help me?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numeric Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!