How to round number up to a specific number of decimal places?
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Paulo Silva
il 3 Ago 2020
Risposto: Alan Stevens
il 3 Ago 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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical 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!