Scale.PowerOfTen(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.
Creates a scale that multiplies numbers by a power of ten before formatting.
[Android.Runtime.Register("powerOfTen", "(I)Landroid/icu/number/Scale;", "", ApiSince=30)]
public static Android.Icu.Number.Scale? PowerOfTen(int power);
[<Android.Runtime.Register("powerOfTen", "(I)Landroid/icu/number/Scale;", "", ApiSince=30)>]
static member PowerOfTen : int -> Android.Icu.Number.Scale
Parameters
- power
- Int32
The exponent of ten used as the multiplier. Zero leaves the number unchanged; a negative exponent scales it down.
Returns
A scale for use with a number formatter.
- Attributes
Remarks
For example, a power of 2 scales a number by 100.
Java documentation for android.icu.number.Scale.powerOfTen(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.