SqlDecimal.Round メソッドとは? わかりやすく解説

SqlDecimal.Round メソッド

指定した精度で、指定した SqlDecimal 構造体の値に最も近い数値取得します

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Shared Function Round
 ( _
    n As SqlDecimal, _
    position As Integer _
) As SqlDecimal
Dim n As SqlDecimal
Dim position As Integer
Dim returnValue As SqlDecimal

returnValue = SqlDecimal.Round(n, position)
public static SqlDecimal Round (
    SqlDecimal n,
    int position
)
public:
static SqlDecimal Round (
    SqlDecimal n, 
    int position
)
public static SqlDecimal Round (
    SqlDecimal n, 
    int position
)
public static function Round
 (
    n : SqlDecimal, 
    position : int
) : SqlDecimal

パラメータ

n

丸められる SqlDecimal 構造体

position

戻り値小数点以下の有効桁数 (精度)。

戻り値
丸め演算結果格納している SqlDecimal 構造体

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDecimal 構造体
SqlDecimal メンバ
System.Data.SqlTypes 名前空間
その他の技術情報
SqlTypes の使用



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

SqlDecimal.Round メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SqlDecimal.Round メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS