/    Sign up×
Community /Pin to ProfileBookmark

15 * pow(5.50, $user[‘bank’])-What does that mean

[code=php]15 * pow(5.50, $user[‘bank’]);[/code]

could anyone tell me how it works out the sum above.

lets say the $user[‘bank’] is “2”

could anyone help me out.

Mitchell

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@scragarMar 30.2008 — http://php.net/pow

that's:
15 * (5.5 ^ 2)
15 * 30.25
453.75
Copy linkTweet thisAlerts:
@mitchellauthorMar 30.2008 — thanks allot but i look on that before and non of the stuff mentioned on that site can explain that code. could you tell me the sum of its working out, thanks
Copy linkTweet thisAlerts:
@scragarMar 30.2008 — I can't tell you why(since I have no idea what the code is actualy for), but it's doing 5.5 to the power of [b]$user['bank'][/b], then multipling the result by 15. And it's sum is 453.75 as I said.
Copy linkTweet thisAlerts:
@mitchellauthorMar 30.2008 — thanks, allot, i didnt know how you got the result, thanks again
×

Success!

Help @mitchell spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...