Class Format.Number
- Inheritance
-
Format.Number
- Implements
-
- Derived
-
- Inherited Members
-
Number: Use plain number format for general numeric values with optional
decimal place control and abbreviation options.
public record Format.Number : Format.BaseNumber, IEquatable<Format>, Format.IMetricViewNumericFormat, IEquatable<Format.BaseNumber>, IEquatable<Format.Number>
- Extension Methods
-
Constructors
protected Number(Format.Number original)
Parameters
Properties
Abbreviation style: none, compact, or scientific
public Format.AbbreviationType? Abbreviation { get; set; }
Property Value
protected override Type EqualityContract { get; }
Property Value
The type of format (i.e., "number", "currency", "percentage",
"byte", "date", "datetime")
public override Format.FormatType Type { get; }
Property Value
Methods
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
public override sealed bool Equals(Format.BaseNumber? other)
Parameters
Returns
public virtual bool Equals(Format.Number? other)
Parameters
Returns
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
public override string ToString()
Returns
Operators
public static bool operator ==(Format.Number? left, Format.Number? right)
Parameters
Returns
public static bool operator !=(Format.Number? left, Format.Number? right)
Parameters
Returns