Subject | Re: [firebird-support] Baffled by UDF results |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2004-04-16T06:27:36Z |
On 15 Apr 2004 at 21:16, Peter wrote:
SY, Dimitry Sibiryakov.
>Example: Where input values are zero Cast(V1+V2+V3 As Numeric(18,4))[skip]
>predictably results in zero (or correct figure where values higher
>than zero are entered). But a UDF "Total(var V1,V2,V3: currency):
>currency" which simple adds and returns the value does not give the
>correct result.
>Can someone put me straight?cdecl?
SY, Dimitry Sibiryakov.