Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Units.MulDiv Method

Name Parameters Description
MulDiv(Int32, Int32, Single) static value, mul, div Multiplies two integer values and then divides the result by a floating point value. The final result is cast to an integer (rounded to the nearest integer dropping the values after the decimal place).
MulDiv(Int32, Single, Int32) static value, mul, div Multiplies two integer values and then divides the result by another integer value. The final result is cast to an integer (rounded to the nearest integer dropping the values after the decimal place).