Hi Everyone
I have 2 variables
$price = 60;
$dec = 1%;
I want to create a function which give me result for next 10 years
example:
2017 = 59.4
2018 = 58.8
2019 = 28.2
.
.
.
2027 =
Code can be PHP or Script
Regards
Hi Everyone
I have 2 variables
$price = 60;
$dec = 1%;
I want to create a function which give me result for next 10 years
example:
2017 = 59.4
2018 = 58.8
2019 = 28.2
.
.
.
2027 =
Code can be PHP or Script
Regards
So you want somebody to write this for you? Why don.t you show your code so far?
hi diafol
I dont have any code yet its part of task for this calculate.
If you can help me on that task it will be very helpfull.
Thanks in advance
Alex, there are so many priors on your question that there is no lack of examples.
https://www.google.com/search?q=percentage+function+php
So this is why you have to share what you've written so far. If you've written nothing then you need to get back to PHP Tutorials so you can start coding this up. Example: https://www.w3schools.com/php/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.