Click or drag to resize
NumberToken Constructor (String, NumericSeparator, NumericSeparator, Char, Char, Sign, String, String, String)
Initializes a new instance with the specified values.

Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public NumberToken(
	string text,
	NumericSeparator groupSeparator,
	NumericSeparator decimalSeparator,
	char alternateGroupSeparator,
	char alternateDecimalSeparator,
	Sign sign,
	string rawSign,
	string rawDecimalDigits,
	string rawFractionalDigits
)

Parameters

text
Type: SystemString
The text of the token, as it appeared in the input
groupSeparator
Type: Sdl.LanguagePlatform.Core.TokenizationNumericSeparator
The type of group separator used
decimalSeparator
Type: Sdl.LanguagePlatform.Core.TokenizationNumericSeparator
The type of decimal separator used
alternateGroupSeparator
Type: SystemChar
The character of an alternative group separator, if used
alternateDecimalSeparator
Type: SystemChar
The character of an alternative decimal separator, if used
sign
Type: Sdl.LanguagePlatform.Core.TokenizationSign
The type of sign used
rawSign
Type: SystemString
The "raw text" of the sign
rawDecimalDigits
Type: SystemString
The "raw decimal digits", without separators, between 0-9
rawFractionalDigits
Type: SystemString
The "raw fractional digits", without separators, between 0-9
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments