IsIntegral
The IsIntegral
function validates if the input parameter is a whole number.
Syntax
IsIntegral(<expression or value>) |
Return Type
Boolean
Details
n/a
Examples
eval IsIntegral(100.1);
eval IsIntegral(42);
select if IsIntegral(amount) = true then 'whole number' else 'not a whole number' end, count(*) from staging.order_item;
Related Functions
IsDateTimeFormat
IsNumberFormat
TypeNameOf