Udostępnij za pośrednictwem


Scanner.NextBigDecimal Method

Definition

Scans the next token of the input as a java.math.BigDecimal BigDecimal.

[Android.Runtime.Register("nextBigDecimal", "()Ljava/math/BigDecimal;", "")]
public Java.Math.BigDecimal? NextBigDecimal ();
[<Android.Runtime.Register("nextBigDecimal", "()Ljava/math/BigDecimal;", "")>]
member this.NextBigDecimal : unit -> Java.Math.BigDecimal

Returns

the BigDecimal scanned from the input

Attributes

Exceptions

if this Scanner has been closed.

if input has been exhausted.

if the next token can not be translated into a valid BigDecimal.

Remarks

Java documentation for java.util.Scanner.nextBigDecimal().

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