NumberOf(Decimal, String, String) Method
Creates a new named
Number instance with named scope.
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 scope,
string fieldName = "NaN"
)
- primitiveValue Decimal
- Constant or variable to be used as a Primitive of the new Number.
- scope String
- Target scope which the value will be part of.
- 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.