TtsSpan.DecimalBuilder.SetArgumentsFromDouble(Double, Int32, 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.
Formats a number and stores its integer part and, when present, its fractional part.
[Android.Runtime.Register("setArgumentsFromDouble", "(DII)Landroid/text/style/TtsSpan$DecimalBuilder;", "GetSetArgumentsFromDouble_DIIHandler")]
public virtual Android.Text.Style.TtsSpan.DecimalBuilder? SetArgumentsFromDouble(double number, int minimumFractionDigits, int maximumFractionDigits);
[<Android.Runtime.Register("setArgumentsFromDouble", "(DII)Landroid/text/style/TtsSpan$DecimalBuilder;", "GetSetArgumentsFromDouble_DIIHandler")>]
abstract member SetArgumentsFromDouble : double * int * int -> Android.Text.Style.TtsSpan.DecimalBuilder
override this.SetArgumentsFromDouble : double * int * int -> Android.Text.Style.TtsSpan.DecimalBuilder
Parameters
- number
- Double
The number to be synthesized.
- minimumFractionDigits
- Int32
Unused by the Android implementation, which uses maximumFractionDigits for both formatter limits.
- maximumFractionDigits
- Int32
The fractional-digit limit used for both the minimum and maximum settings of the number formatter.
Returns
This instance.
- Attributes
Remarks
The number is formatted without grouping using the US number format. If the formatted number contains no decimal point, the existing fractional-part argument is not changed.
Android reference for android.text.style.TtsSpan.DecimalBuilder.setArgumentsFromDouble.
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.