How to round number up to a specific number of decimal places?
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Paulo Silva
am 3 Aug. 2020
Beantwortet: Alan Stevens
am 3 Aug. 2020
Suppose I have a variable x=0.34; is there a function (or how would one look like) to round this number up to, say 0.4 (next highest number with one decimal place)?
Just like ceil, but with decimals?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!