|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IncrementingHi I'm having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help?
From http://www.developmentnow.com/g/38_2006_5_0_15_0/dotnet-languages-vb.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Current age minus retirement age should not impact the salary calculation.
Post your code and where you are having a problem, and maybe someone can help. Show quoteHide quote "HardTP" wrote: > Hi I'm having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help? > > From http://www.developmentnow.com/g/38_2006_5_0_15_0/dotnet-languages-vb.htm > > Posted via DevelopmentNow.com Groups > http://www.developmentnow.com > Well, you seem to be missing one important piece of information - like
current age. Or, lacking that, instead of retirement age, years-to-retirement. Then, knowing the number of years till retirement, when the user clicks the 'Calculate' button, it is basically, for each year till retirement, salary = salary * (1+(raise%/100)). -- Show quoteHide quoteTerry "HardTP" wrote: > Hi I'm having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help? > > From http://www.developmentnow.com/g/38_2006_5_0_15_0/dotnet-languages-vb.htm > > Posted via DevelopmentNow.com Groups > http://www.developmentnow.com >
Removing reference type members from a generic list clone
vs2008 or not Creating a Web Service (Service, not Client) from WSDL Reurning Arrays Question about Application Layout Editing an indexed PixelFormat Saving an image from a picturebox Please vote for rendering bug (loss of AlphaChannel) for ico-files! Where are use scoped settings stored? working with a com interface |
|||||||||||||||||||||||