Re: financial calculation

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30232
interpreted = N
texte = Basically you just need to know the formuala. Web Cat can handle the rest. There are many sites on the web that give you the formulas in javascript. I just looked at their code and converted it.Here is a compounded growth function I created in WebCat. Right now its two pages, the cleaner method can be done in a single page referencing itself.calc.html page
Initial Investment: Annual Contribution: Rate of Return: Number of Years: calcr.html page: [math show=F]RATE=0.01*[R][/math] [showif [P]=][math show=f]PV=0[/math][/showif] [hideif [P]=][math show=f]PV=[P][/math][/hideif] [showif [C]=][math show=f]CV=0[/math][/showif] [hideif [C]=][math show=f]CV=[C][/math][/hideif] [math show=f]FV=([PV]*((1+[RATE])^[N]))+([CV]*((((1+[RATE])^[N])-1)/[RATE]))[/math ] The total amount of money you invested is $[format thousands .2f][math]TC=[PV]+([CV]*[N])[/math][/format] for a period of [N] years.With that investment you earned $[format thousands .2f][math]IG=[FV]-[TC][/math][/format] in growth. This gives you a total account of $[format thousands .2f][FV][/format].*----- Original Message ----- From: Robert Wade To: WebCatalog Talk Sent: Monday, April 10, 2000 12:41 PM Subject: Re: financial calculation > I've seen this done at several banks with JavaScript, but never WebCat. > > -Robert Wade > CABIN6 Design > > Laurent Pladys wrote: > > > Hello, > > > > I would like to implement financial calculation on a website such as > > computing interests and loans. > > Does anyone has ever done this with Webcat and is willing to share is > > templates or do I have to re-invent all this stuff with math contexts ? > > > > Laurent > > > > --- > > L a u r e n t P l a d y s > > L X I R > > _____________________________________________ > > +33 (0)1 44 68 80 60 (tel) > > _____________________________________________ > > w w w . l x i r . n e t > > l t p l a d y s @ l x i r . n e t > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: financial calculation (Paul Berman 2000)
  2. Re: financial calculation (manderso@fabian.com (Mark Anderson) 2000)
  3. Re: financial calculation (Robert Wade 2000)
  4. financial calculation (Laurent Pladys 2000)
Basically you just need to know the formuala. Web Cat can handle the rest. There are many sites on the web that give you the formulas in javascript. I just looked at their code and converted it.Here is a compounded growth function I created in WebCat. Right now its two pages, the cleaner method can be done in a single page referencing itself.calc.html page Initial Investment: Annual Contribution: Rate of Return: Number of Years: calcr.html page: [math show=F]RATE=0.01*[R][/math] [showif [P]=][math show=f]PV=0[/math][/showif] [hideif [P]=][math show=f]PV=[P][/math][/hideif] [showif [C]=][math show=f]CV=0[/math][/showif] [hideif [C]=][math show=f]CV=[C][/math][/hideif] [math show=f]FV=([PV]*((1+[RATE])^[N]))+([CV]*((((1+[RATE])^[N])-1)/[RATE]))[/math ] The total amount of money you invested is $[format thousands .2f][math]TC=[PV]+([CV]*[N])[/math][/format] for a period of [N] years.With that investment you earned $[format thousands .2f][math]IG=[FV]-[TC][/math][/format] in growth. This gives you a total account of $[format thousands .2f][FV][/format].*----- Original Message ----- From: Robert Wade To: WebCatalog Talk Sent: Monday, April 10, 2000 12:41 PM Subject: Re: financial calculation > I've seen this done at several banks with JavaScript, but never WebCat. > > -Robert Wade > CABIN6 Design > > Laurent Pladys wrote: > > > Hello, > > > > I would like to implement financial calculation on a website such as > > computing interests and loans. > > Does anyone has ever done this with Webcat and is willing to share is > > templates or do I have to re-invent all this stuff with math contexts ? > > > > Laurent > > > > --- > > L a u r e n t P l a d y s > > L X I R > > _____________________________________________ > > +33 (0)1 44 68 80 60 (tel) > > _____________________________________________ > > w w w . l x i r . n e t > > l t p l a d y s @ l x i r . n e t > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to manderso@fabian.com (Mark Anderson)

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[math date]: Arrrggh! (2003) Math Problem - Format? (1997) typo in docs (2000) [WebDNA] copy some database fields into a new database (2016) Pacific Coast Software responsiveness (was WebMerchant - MacAuthorize) (1999) Change to 5.0 per website licensing (2003) Email notification to one of multiple vendors ? (1997) Global Function (2003) HTML email (2004) Memory Error message (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Understanding texta (1997) Gil's in the lead (1999) WebCat2b15MacPlugin - showing [math] (1997) ANYONE (1999) ThisURL (2000) [ShowNext] (1997) [WebDNA] Advices for Linux Config (2017) Version 2.0 and 1.6 simultaneous (1997) Document Contains No Data! (1997)