Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,280 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,296 people online right now. Registration is fast and FREE... Join Now!




calculating discount and total interest

 
Reply to this topicStart new topic

calculating discount and total interest

wamukota
13 Oct, 2008 - 02:11 AM
Post #1

New D.I.C Head
*

Joined: 13 Oct, 2008
Posts: 1

Please help
User is offlineProfile CardPM
+Quote Post

thava
RE: Calculating Discount And Total Interest
13 Oct, 2008 - 03:23 AM
Post #2

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 442



Thanked: 18 times
Dream Kudos: 50
My Contributions
how should we help if provide this type of question
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Calculating Discount And Total Interest
13 Oct, 2008 - 05:07 AM
Post #3

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,983



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

jaakko
RE: Calculating Discount And Total Interest
13 Oct, 2008 - 01:55 PM
Post #4

New D.I.C Head
*

Joined: 26 Sep, 2008
Posts: 21



Thanked: 1 times
My Contributions
QUOTE(wamukota @ 13 Oct, 2008 - 03:11 AM) *

Please help


if you want to know the amount when you know the per cent : % * nSum / 100 = nInterestInMoney
if you want to know the per cent when you know the nInterest: 100 * nInterestInMoney / nSum = %
if you know the total amount with interest in money and % and want to know the interest in money: 100 * nTotalWithInterestInmoney / (100 + %)
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 05:23AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month