Constructor Round
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Round(Column, int)
Initializes a new instance of ROUND with a column value and literal decimal places.
public Round(Column valueColumn, int decimals)
Parameters
valueColumnColumnThe column containing the value to round.
decimalsintThe number of decimal places to round to.
Round(Column, Column)
Initializes a new instance of ROUND with column-based value and decimal places.
public Round(Column valueColumn, Column decimalsColumn)
Parameters
valueColumnColumnThe column containing the value to round.
decimalsColumnColumnThe column containing the number of decimal places.
Round(Expression, int)
Initializes a new instance of ROUND with an expression value and literal decimal places.
public Round(Expression valueExpression, int decimals)
Parameters
valueExpressionExpressionThe expression containing the value to round.
decimalsintThe number of decimal places to round to.
Round(double, int)
Initializes a new instance of ROUND with literal value and decimal places.
public Round(double value, int decimals)