SqlDecimal.Round(SqlDecimal, Int32) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene il numero più vicino al valore della struttura specificata SqlDecimal con la precisione specificata.
public:
static System::Data::SqlTypes::SqlDecimal Round(System::Data::SqlTypes::SqlDecimal n, int position);
public static System.Data.SqlTypes.SqlDecimal Round(System.Data.SqlTypes.SqlDecimal n, int position);
static member Round : System.Data.SqlTypes.SqlDecimal * int -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Round (n As SqlDecimal, position As Integer) As SqlDecimal
Parametri
Struttura SqlDecimal da arrotondare.
- position
- Int32
Numero di cifre frazionarie significative (precisione) nel valore restituito.
Valori restituiti
Struttura SqlDecimal che contiene i risultati dell'operazione di arrotondamento.