round
Entity | Value |
---|---|
Attribute(s) | style |
Type | value |
Relation | productlist, moreinfo, orderprocess |
Multiple functions can be used within a myshop-calculate extension. One of those functions is round(number). With this function the closest integer of the given number can be calculated.
Calculate functions can only be used within a myshop-calculate extension.
Parameters
- number – Required
The number to get the closest integer for.
Example
ceiling(3.14) // will return 3
ceiling(3.50) // will return 4
See also
The following extensions may also be interesting if you plan to use this extension:
Post your comment on this topic.