Megosztás a következőn keresztül:


DecimalFormat.NegativePrefix Property

Definition

Get the negative prefix. -or- Set the negative prefix.

public virtual string? NegativePrefix { [Android.Runtime.Register("getNegativePrefix", "()Ljava/lang/String;", "GetGetNegativePrefixHandler")] get; [Android.Runtime.Register("setNegativePrefix", "(Ljava/lang/String;)V", "GetSetNegativePrefix_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getNegativePrefix", "()Ljava/lang/String;", "GetGetNegativePrefixHandler")>]
[<set: Android.Runtime.Register("setNegativePrefix", "(Ljava/lang/String;)V", "GetSetNegativePrefix_Ljava_lang_String_Handler")>]
member this.NegativePrefix : string with get, set

Property Value

the negative prefix

Attributes

Remarks

Property getter documentation:

Get the negative prefix.

Examples: -123, ($123) (with negative suffix), sFr-123

Java documentation for java.text.DecimalFormat.getNegativePrefix().

Property setter documentation:

Set the negative prefix.

Examples: -123, ($123) (with negative suffix), sFr-123

Java documentation for java.text.DecimalFormat.setNegativePrefix(java.lang.String).

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