Udostępnij za pośrednictwem


DecimalFormat.NegativeSuffix Property

Definition

Get the negative suffix. -or- Set the negative suffix.

public virtual string? NegativeSuffix { [Android.Runtime.Register("getNegativeSuffix", "()Ljava/lang/String;", "GetGetNegativeSuffixHandler")] get; [Android.Runtime.Register("setNegativeSuffix", "(Ljava/lang/String;)V", "GetSetNegativeSuffix_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getNegativeSuffix", "()Ljava/lang/String;", "GetGetNegativeSuffixHandler")>]
[<set: Android.Runtime.Register("setNegativeSuffix", "(Ljava/lang/String;)V", "GetSetNegativeSuffix_Ljava_lang_String_Handler")>]
member this.NegativeSuffix : string with get, set

Property Value

the negative suffix

Attributes

Remarks

Property getter documentation:

Get the negative suffix.

Examples: -123%, ($123) (with positive suffixes)

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

Property setter documentation:

Set the negative suffix.

Examples: 123%

Java documentation for java.text.DecimalFormat.setNegativeSuffix(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