How to round number up to a specific number of decimal places?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Paulo Silva
el 3 de Ag. de 2020
Respondida: Alan Stevens
el 3 de Ag. de 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!