ICallableStatement.GetBigDecimal Method

Definition

Overloads

GetBigDecimal(Int32)

Retrieves the value of the designated JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains.

GetBigDecimal(String)

Retrieves the value of a JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains.

GetBigDecimal(Int32, Int32)
Obsolete.

Retrieves the value of the designated JDBC NUMERIC parameter as a java.math.BigDecimal object with scale digits to the right of the decimal point.

GetBigDecimal(Int32)

Retrieves the value of the designated JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains.

[Android.Runtime.Register("getBigDecimal", "(I)Ljava/math/BigDecimal;", "GetGetBigDecimal_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Math.BigDecimal? GetBigDecimal (int parameterIndex);
[<Android.Runtime.Register("getBigDecimal", "(I)Ljava/math/BigDecimal;", "GetGetBigDecimal_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBigDecimal : int -> Java.Math.BigDecimal

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

Returns

the parameter value in full precision. If the value is SQL NULL, the result is null.

Attributes

Exceptions

if a database error occurs.

Remarks

Retrieves the value of the designated JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains.

Added in 1.2.

Java documentation for java.sql.CallableStatement.getBigDecimal(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetBigDecimal(String)

Retrieves the value of a JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains.

[Android.Runtime.Register("getBigDecimal", "(Ljava/lang/String;)Ljava/math/BigDecimal;", "GetGetBigDecimal_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Math.BigDecimal? GetBigDecimal (string? parameterName);
[<Android.Runtime.Register("getBigDecimal", "(Ljava/lang/String;)Ljava/math/BigDecimal;", "GetGetBigDecimal_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBigDecimal : string -> Java.Math.BigDecimal

Parameters

parameterName
String

the name of the parameter

Returns

the parameter value in full precision. If the value is SQL NULL, the result is null.

Attributes

Exceptions

if a database error occurs.

Remarks

Retrieves the value of a JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains.

Added in 1.4.

Java documentation for java.sql.CallableStatement.getBigDecimal(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetBigDecimal(Int32, Int32)

Caution

deprecated

Retrieves the value of the designated JDBC NUMERIC parameter as a java.math.BigDecimal object with scale digits to the right of the decimal point.

[Android.Runtime.Register("getBigDecimal", "(II)Ljava/math/BigDecimal;", "GetGetBigDecimal_IIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public Java.Math.BigDecimal? GetBigDecimal (int parameterIndex, int scale);
[<Android.Runtime.Register("getBigDecimal", "(II)Ljava/math/BigDecimal;", "GetGetBigDecimal_IIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member GetBigDecimal : int * int -> Java.Math.BigDecimal

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

scale
Int32

the number of digits to the right of the decimal point

Returns

the parameter value. If the value is SQL NULL, the result is null.

Attributes

Exceptions

if a database error occurs.

Remarks

Retrieves the value of the designated JDBC NUMERIC parameter as a java.math.BigDecimal object with scale digits to the right of the decimal point.

This member is deprecated. use getBigDecimal(int parameterIndex) or getBigDecimal(String parameterName)

Java documentation for java.sql.CallableStatement.getBigDecimal(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to