Class InsignificantDigitToken
Class used for Significant Digit Tokens.
Implements
System.ICloneable
Inherited Members
Namespace: Syncfusion.XlsIO.FormatParser.FormatTokens
Assembly: Syncfusion.XlsIO.NET.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 |
---|
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 |
---|
System.Boolean |
TokenType
Returns type of the token. Read-only.
Declaration
public override TokenType TokenType { get; }
Property Value
Type |
---|
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