Table of Contents

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

valueColumn Column

The column containing the value to round.

decimals int

The 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

valueColumn Column

The column containing the value to round.

decimalsColumn Column

The 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

valueExpression Expression

The expression containing the value to round.

decimals int

The 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)

Parameters

value double

The value to round.

decimals int

The number of decimal places to round to.