floor

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 floor(number). With this function the highest integer which is lower then the given number can be calculated.
Calculate functions can only be used within a myshop-calculate extension.

Parameters

  • number – Required
    The number to get floor for.

Example

ceiling(3.14) // will return 3

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