Round Down to Multiple [MROUNDDOWN]

Rounds the given number down to the desired multiple.

Syntax

MROUNDDOWN (Number, Multiple)

Note: The required separator (comma or semi-colon) automatically corresponds to your computer’s location settings.

Data Types of the Arguments

Integer, Number, Length, Area, Volume, Angle (Must be identical for all Arguments)

Data Type of the Result

Depends on Arguments’ Data Type

Example

The “Beam Length” property calculates the exact length of existing Beam elements in the model (e.g. 2,044).

The “Prefab Beam Length” property is a fixed value (e.g. 300)

Create an expression to round the Beam Length down to the Prefab increment.

Expression

MROUNDDOWN (“Beam Length”, 300)

Result

1,800 (for a sample Beam Length of 2,044)

Notes

See also: Round to Multiple [MROUND], Round Up to Multiple [MROUNDUP].

To round numbers to specific decimal places: use Round [ROUND], Round Up [ROUNDUP], Round Down [ROUNDDOWN].