Skip to main content

DIVIDE

Divides two values.

Syntax

byte? DIVIDE(byte? a, byte? b)
short? DIVIDE(short? a, short? b)
int? DIVIDE(int? a, int? b)
long? DIVIDE(long? a, long? b)
Single? DIVIDE(Single? a, Single? b)
double? DIVIDE(double? a, double? b)
double? DIVIDE(double? a, decimal? b)
decimal? DIVIDE(decimal? a, double? b)
decimal? DIVIDE(decimal? a, decimal? b)

Example

DIVIDE(NUMBER(10),2.5)

Will return '4'.