Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
Problem with POW
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
maddy1010
New Member
Join Date:
Jun 2019
Posts:
1
#1
Problem with POW
Jun 3 '19, 02:09 AM
Guys I'm having hard time with this function, please help me
amount = (principal * (pow ((1 + interestRate / timesCompound), timesCompound)) );
Attached Files
pow.jpg
(109.8 KB, 199 views)
dev7060
Recognized Expert
Contributor
Join Date:
Mar 2017
Posts:
656
#2
Jun 4 '19, 08:55 AM
Possibly logical errors in the code, producing unexpected outputs. Refer
here
for the formulas.
Comment
Post
Cancel
zmbd
Recognized Expert
Moderator
Expert
Join Date:
Mar 2012
Posts:
5501
#3
Jun 4 '19, 04:46 PM
maddy1010
Read thru the FAQ section on how to properly ask a question.
you need to explain what you are trying to do
what you have tried to fix the problem
maybe an example with what you have, what you are getting, and what you were expecting
Comment
Post
Cancel
chrimpylimes
New Member
Join Date:
Jul 2019
Posts:
10
#4
Jul 9 '19, 09:33 AM
maybe (just maybe) you need to change all the variables to double cause in int things like 7/8 is equal to 0
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment