Table of Contents

FLOOR

Specification Value
Name FLOOR
Description Returns the largest integer less than or equal to a specified number.
Parameter 1 Name Number1
Parameter 1 Type double or decimal
Parameter 2 Name
Parameter 2 Type
Parameter 3 Name
Parameter 3 Type
Return value Returns the largest integer less than or equal to Number1.

Example:

Let's get the largest integer that is less than or equal to the quantity of a sales order line:

10: FLOOR ATTRIB:QuantityValue                  

OUTPUT:
If 'QuantityValue = 14.85', the output will be '14'.
If 'QuantityValue = 14', the output will be '14'.

Note

The repository of the attribute is Crm.Sales.SalesOrderLines