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:

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment