NumberOf(Decimal, String) Method
Creates a new named
Number instance.
Namespace: Fluent.Calculations.Primitives.BaseTypesAssembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public static Number Of(
decimal primitiveValue,
string fieldName = "NaN"
)
- primitiveValue Decimal
- Constant or variable to be used as a Primitive of the new Number.
- fieldName String (Optional)
- Name of the Number (automatically defined by at compile time)
NumberNumber instance representing the supplied numeric value.
This is one of prefered ways to create
Number using a primitive value. Scope of the number will be updated during the evaluation.