ISignedZeroOption
ISignedZeroOption
ISignedZeroOption
ISignedZeroOption
Interface
Definition
An interface that gets and sets the option for specifying whether -0 is formatted as "-0" or "0".
public : interface ISignedZeroOptionpublic interface ISignedZeroOptionPublic Interface ISignedZeroOption// You can use this interface in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
IsZeroSigned IsZeroSigned IsZeroSigned IsZeroSigned
Gets or sets whether -0 is formatted as "-0" or "0".
public : PlatForm::Boolean IsZeroSigned { get; set; }public bool IsZeroSigned { get; set; }Public ReadWrite Property IsZeroSigned As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if -0 is formatted as "-0", and false if -0 is formatted as "0".
Remarks
You can set this property to specify that a formatter class 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".