Subject | Re: {Disarmed} Re: [firebird-support] How do I determine a percentage of a dollar amount? |
---|---|
Author | Ann Harrison |
Post date | 2011-07-11T17:26:52Z |
On Mon, Jul 11, 2011 at 1:04 PM, SoftTech <miket@...> wrote:
expect - or cast the reference in the divide operation. Firebird is
following the rules of the SQL Standard which are not necessarily intuitive.
Cheers,
Ann
[Non-text portions of this message have been removed]
> Thank you Marcin for the reply.OK. Decleare that variable as scaled numeric - whatever precision you
>
> Input variable V_SETTLEMENT_PERCENTAGE is defined as a SmallInt
>
> ...
>
> It returns 0
>
>
expect - or cast the reference in the divide operation. Firebird is
following the rules of the SQL Standard which are not necessarily intuitive.
Cheers,
Ann
[Non-text portions of this message have been removed]