Skip to main content

Units.MulDiv(Int32, Int32, Single) Method

Multiplies two 32-bit integers and then divides the 64-bit result by a third 32-bit integer.

Namespace: DevExpress.Office.Utils

Assembly: DevExpress.Office.v26.1.Core.dll

Declaration

public static int MulDiv(
    int value,
    int mul,
    float div
)

Parameters

Name Type Description
value Int32

A value to be multiplied and divided.

mul Int32

A value to multiply by.

div Single

A value to divide by.

Returns

Type Description
Int32

The result of the multiplication and division operations.

See Also