Skip to main content
All docs
V26.1
  • Units.MulDiv(Int32, Single, Single) Method

    Multiplies a 32-bit integer by a single-precision floating-point number and then divides the result by another single-precision floating-point number.

    Namespace: DevExpress.Office.Utils

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

    Declaration

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

    Parameters

    Name Type Description
    value Int32

    A value to be multiplied and divided.

    mul Single

    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