Subject Re: [firebird-support] How do I figure what percentage one value is of another value inside a stored procedure?
Author Thomas Steinmaurer
> Firebird 1.5.3
>
> Is it possible to return a percentage of the following within a stored
> procedure?
>
> Value A = $1000.00
> Value B = $600.00
>
> Result C = 60%

(B / A) * 100

;-)



--
With regards,

Thomas Steinmaurer
Upscene Productions
http://www.upscene.com
http://blog.upscene.com/thomas/

Download LogManager Series, FB TraceManager today!
Continuous Database Monitoring Solutions supporting
Firebird, InterBase, Advantage Database, MS SQL Server
and NexusDB!