ROUND2DP

Round a number to a given number of decimal places

現在この提出コンテンツをフォロー中です。

This expands on the operation of the built-in ROUND function to provide functionality to round to a given number of decimal places. For example,

>> round(pi)
ans =
3

>> round2dp(pi,3)
ans =
3.142

引用

Andrew (2026). ROUND2DP (https://jp.mathworks.com/matlabcentral/fileexchange/24213-round2dp), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: round2

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0