WorksheetFunction.MRound(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a number rounded to the desired multiple.
public:
double MRound(System::Object ^ Arg1, System::Object ^ Arg2);
public double MRound (object Arg1, object Arg2);
Public Function MRound (Arg1 As Object, Arg2 As Object) As Double
Parameters
- Arg1
- Object
Number - the value to round.
- Arg2
- Object
Multiple - the multiple to which you want to round number.
Returns
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.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per