Declaration
protected virtual decimal? getDecimal(
NumericConversionOptions options,
bool safe
)Summary
Converts the current value to
decimal.
Parameters
| NumericConversionOptions | options |
Specifies options for the conversion. |
| bool | safe |
Controls the behavior in case of conversion failure. If true, returns null; if false, throws. |