[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.RoundPattern

RoundPattern Enum

Specifies the round pattern of the specified number.

Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
public enum RoundPattern
Public Enum RoundPattern

Fields

Name Description
Ceiling

When a number is halfway between two others, it is rounded toward the smallest integer greater than or equal to the specified number.

Floor

When a number is halfway between two others, it is rounded toward the largest integer less than or equal to the specified number.

MidpointRoundAwayFromZero

When a number is halfway between two others, it is rounded toward the nearest number that is away from zero.

MidpointRoundToEven

When a number is halfway between two others, it is rounded toward the nearest even number.