다음을 통해 공유


WorksheetFunction.MRound Method (Excel)

Returns a number rounded to the desired multiple.

Syntax

.MRound(Arg1, Arg2)

A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

필수

Variant

Number - the value to round.

Arg2

필수

Variant

Multiple - the multiple to which you want to round number.

Return Value

Double

Remarks

MROUND rounds up, away from zero, if the remainder of dividing number by multiple is greater than or equal to half the value of multiple.

참고 항목

개념

WorksheetFunction Object

WorksheetFunction Object Members