필터 지우기
필터 지우기

How to round number up to a specific number of decimal places?

조회 수: 18 (최근 30일)
Paulo Silva
Paulo Silva 2020년 8월 3일
답변: Alan Stevens 2020년 8월 3일
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?

채택된 답변

Alan Stevens
Alan Stevens 2020년 8월 3일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by