RoundDown
4 min
rounds a value down to the previous whole number syntax rounddown(value) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes business rules initialization rules yes business rules read only rules yes business rules required rules yes business rules validation rules yes client expressions yes object permissions no services yes ldap yes mobile yes quick actions (except ui quick actions) yes ui quick actions yes reports yes search/dashboard without field references yes search/dashboard with field references no parameter parameter description value numeric or currency value to round down return value the same type as the value parameter type if the value parameter is a currency value, this function returns a currency value if the value parameter is a number value, this function returns a number value if the value parameter is not a number nor a currency, returns an error examples $(rounddown(2 12345)) the above example returns a value of 2 the value parameter is a number so it returns the greatest integer that is less than or equal to the value parameter $(rounddown(2 12789usd)) the above example returns a value of 2usd
