how to round off a number to the nearest multiple of 25?

3 ビュー (過去 30 日間)
Tiruvoipati Aishwarya Rao
Tiruvoipati Aishwarya Rao 2019 年 3 月 11 日
回答済み: Stephen23 2019 年 3 月 11 日
a=254
%a should be the multiple of 25 but greater than 254
%how to do that?

回答 (1 件)

Stephen23
Stephen23 2019 年 3 月 11 日
>> a = 254;
>> 25*ceil(a/25)
ans = 275

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by