Login     Register

        Contact Us     Search

XLeratorDB/math Documentation

SQL Server QUOTIENT function


QUOTIENT
 
Updated: 17 August 2010
QUOTIENT returns the integer portion of a division.
Syntax
SELECT [westclintech].[wct].[QUOTIENT] (
   <@Numerator, float,>
 ,<@Denominator, float,>)
Arguments
@Numerator
is the dividend. @Numerator is an expression of type float or of a type that can be implicitly converted to float
@Denominator
is the divisor. @Denominator is an expression of type float or of a type that can be implicitly converted to float
 
Return Types
float
Remarks
Example
 
SELECT wct.QUOTIENT(-5, 2)
Here is the result set
----------------------
-2
 
(1 row(s) affected)


Copyright 2008-2024 Westclintech LLC         Privacy Policy        Terms of Service