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

Join 131,766 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,131 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
post 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

Go to the top of the page

thava
post 13 Oct, 2008 - 03:23 AM
Post #2


D.I.C Regular

Group Icon
Joined: 17 Apr, 2007
Posts: 423



Thanked 17 times

Dream Kudos: 50
My Contributions


how should we help if provide this type of question
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 13 Oct, 2008 - 05:07 AM
Post #3


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,909



Thanked 116 times

Dream Kudos: 8450

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

Go to the top of the page

jaakko
post 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

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 01:24PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month