Java.Text.DecimalFormat.Format Method
Formats the specified double value as a string using the pattern of this number format and appends the string to the specified string buffer.

Syntax

[Android.Runtime.Register("format", "(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_DLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")]
public override Java.Lang.StringBuffer Format (double value, Java.Lang.StringBuffer buffer, FieldPosition position)

Parameters

value
the double to format.
buffer
the target string buffer to append the formatted double value to.
position
on input: an optional alignment field; on output: the offsets of the alignment field in the formatted text.

Returns

Documentation for this section has not yet been entered.

Remarks

Formats the specified double value as a string using the pattern of this number format and appends the string to the specified string buffer.

If the field member of position contains a value specifying a format field, then its beginIndex and endIndex members will be updated with the position of the first occurrence of this field in the formatted text.

[Android Documentation]

Requirements

Namespace: Java.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1