Edit

Share via


WorksheetFunction.Ceiling_Math(Double, Object, Object) Method

Definition

Rounds a number up, to the nearest integer or to the nearest multiple of significance.

public double Ceiling_Math (double Arg1, object Arg2, object Arg3);
Public Function Ceiling_Math (Arg1 As Double, Optional Arg2 As Object, Optional Arg3 As Object) As Double

Parameters

Arg1
Double

The value you want to round.

Arg2
Object

The multiple to which you want to round.

Arg3
Object

When given and nonzero, this function will round away from zero.

Returns

DOUBLE

Applies to