Subject | Re: [firebird-support] Problems with a number Integer |
---|---|
Author | Alex Taylor |
Post date | 2003-12-01T17:03:39Z |
If you mean that the value is a whole number, you can decide it in the
following way:
(Just an example.)
IF ( CAST(NUM_VAR AS NUMERIC(18,2)) - CAST(NUM_VAR AS NUMERIC(18,0)) = 0
) THEN
BEGIN
....
END
Regards: Alex
following way:
(Just an example.)
IF ( CAST(NUM_VAR AS NUMERIC(18,2)) - CAST(NUM_VAR AS NUMERIC(18,0)) = 0
) THEN
BEGIN
....
END
Regards: Alex