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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk