Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PermilleFormatter.IsZeroSigned | isZeroSigned property

Applies to Windows and Windows Phone

Gets or sets whether -0 is formatted as "-0" or "0".

Syntax


var isZeroSigned = permilleFormatter.isZeroSigned;
permilleFormatter.isZeroSigned = isZeroSigned;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if -0 is formatted as "-0", and false if -0 is formatted as "0".

Remarks

You can set this property to specify that PermilleFormatter display negative 0 as "-0". This enables the scenario where you wish to display "-0" when it represents the rounded value of some small negative value (such as -0.00001).

This property defaults to false to be consistent with Windows 8 and Windows Server 2012, in which -0 was always formatted as "0".

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.winmd

See also

PermilleFormatter

 

 

Show:
© 2014 Microsoft