Article View: borland.public.interbase.sql
Article #11272Percentage in Stored Procedure
From: Will Bonner-May
Date: Mon, 02 Dec 2002 12:20
Date: Mon, 02 Dec 2002 12:20
16 lines
1348 bytes
1348 bytes
Can anyone help? I need to work out a score as a percentage within a stored procedure, I am using the following code but it doesn't seem to work. (TOPICCOUNT integer, TOPICSCOMPLETED integer, USERSYLLABUSPROGRESS integer) ..... UserSyllabusProgress = (:TopicsCompleted / :TopicCount) * 100; ..... Thanks in advance, Will Bonner-May
Technical Details
Message-ID:
<3deb500b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newsfeed.wirehub.nl!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114a0e,a766b6afb0ff7831,start X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-12-02 04:28:57 PST Reply-To: "Will Bonner-May" <willbm@knowledgeuk.com> From: "Will Bonner-May" <willbm@knowledgeuk.com> Newsgroups: borland.public.interbase.sql Subject: Percentage in Stored Procedure Date: Mon, 2 Dec 2002 12:20:27 -0000 Lines: 18 Organization: Knowledge Solutions X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 193.128.121.65 Message-ID: <3deb500b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038831627 193.128.121.65 (2 Dec 2002 04:20:27 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newsfeed.wirehub.nl!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail