Class InsignificantDigitToken
Class used for Significant Digit Tokens.
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.FormatParser.FormatTokens
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class InsignificantDigitToken : DigitToken, ICloneable
Constructors
InsignificantDigitToken()
Initializes a new instance of the InsignificantDigitToken class.
Declaration
public InsignificantDigitToken()
Properties
FormatChar
Format character. Read-only.
Declaration
public override char FormatChar { get; }
Property Value
Type | Description |
---|---|
System.Char |
Overrides
HideIfZero
Gets or sets a value indicating whether to show string value if digit is zero.
Declaration
public bool HideIfZero { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TokenType
Returns type of the token. Read-only.
Declaration
public override TokenType TokenType { get; }
Property Value
Type | Description |
---|---|
TokenType |
Overrides
Methods
GetDigitString(Double, Int32, Boolean)
Returns string representation according to the current format and digit value.
Declaration
protected override string GetDigitString(double value, int iDigit, bool bShowHiddenSymbols)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | Value after removing specified digit. |
System.Int32 | iDigit | Digit to convert into string. |
System.Boolean | bShowHiddenSymbols | Indicates whether to show hidden symbols. |
Returns
Type | Description |
---|---|
System.String | Converted value. |
Overrides
Implements
System.ICloneable