BigDecimal.MovePointRight(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a plain BigDecimal
whose decimal point has been moved to the right by a specified number of
positions.
[Android.Runtime.Register("movePointRight", "(I)Landroid/icu/math/BigDecimal;", "GetMovePointRight_IHandler", ApiSince=24)]
public virtual Android.Icu.Math.BigDecimal? MovePointRight (int n);
[<Android.Runtime.Register("movePointRight", "(I)Landroid/icu/math/BigDecimal;", "GetMovePointRight_IHandler", ApiSince=24)>]
abstract member MovePointRight : int -> Android.Icu.Math.BigDecimal
override this.MovePointRight : int -> Android.Icu.Math.BigDecimal
Parameters
- n
- Int32
The int
specifying the number of places to move the decimal point rightwards.
Returns
A BigDecimal
derived from this
, with the decimal point moved n
places to the right.
- Attributes
Remarks
Returns a plain BigDecimal
whose decimal point has been moved to the right by a specified number of positions. The parameter, n
, specifies the number of positions to move the decimal point. That is, if n
is 0 or positive, the number returned is given by:
this.multiply(TEN.pow(new BigDecimal(n)))
n
may be negative, in which case the method returns the same result as movePointLeft(-n)
.
Java documentation for android.icu.math.BigDecimal.movePointRight(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.