Class ConversionExtensions
Inheritance
System.Object
ConversionExtensions
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public static class ConversionExtensions : Object
Methods
ConvertToDecimalNull(String)
Convert string to Decimal
Declaration
public static Nullable<Decimal> ConvertToDecimalNull(this string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Type |
System.Nullable<System.Decimal> |
Convert String to DecimalNull with Culture
Declaration
public static Nullable<double> ConvertToDoubleNull(this string text, CultureInfo culture, NumberFormatInfo numberformat)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Globalization.CultureInfo |
culture |
|
System.Globalization.NumberFormatInfo |
numberformat |
|
Returns
Type |
System.Nullable<System.Double> |
ConvertToInt64Null(String)
Convert string to Int64Null
Declaration
public static Nullable<long> ConvertToInt64Null(this string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Type |
System.Nullable<System.Int64> |