Method GetFieldDecimal
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
GetFieldDecimal(string)
Gets the value of a decimal field. Also converts from string, integer, long, float, and double fields.
public decimal GetFieldDecimal(string fieldName)
Parameters
fieldNamestringThe column name.
Returns
- decimal
The decimal value.
Exceptions
- Exception
Thrown when the field name is invalid or no decimal-compatible value can be found.