Parameters
- input
- The numeric string that is to be converted to a TdNumber.
Return Value
The TdNumber representation of the specified numeric string.
Exception | Description |
---|---|
System.FormatException | The format of the numeric string is invalid. |
System.OverflowException | The specified numeric string could not be converted to a TdNumber |
System.ArgumentNullException | The numeric string is null. |
String | Result |
---|---|
1234562546908.23442 | is a valid string |
123456254690823442e-5 | is a valid string |
.00123456254690823442e15 | is a valid string |
1,234,562,546,908,234.42e-3 | is a valid string |
1234,562546,9,08.23442 | is a valid string |
1,234,562,546,908,234.42g-3 | is an invalid string |
1,234,562,546,908, | is an invalid string |
1,234,562,546,908.23,442 | is an invalid string |
1,234,562,546,908.23442- | is an invalid string due the negative sign at the end of the string. |
Both the group separator and decimal separator are culture specific.
If the input contains the string "NULL" a TdNumber.Null will be returned.
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2