On Thu, 23 Aug 2007 19:37:12 +0000, Evertjan. wrote:
Paul J. Dudley wrote on 23 aug 2007 in comp.lang.javascript:
>>
I need a javascript to solve for X as in the following:
120.85 X
----- = ---
16 24
24 x 120.85 / 16 = X
X = 181.28
Does anyone have such ... or anything like it that I might
play with to do the same ?
Why would you "need" that?
A school assignment?
What code dit you make sofar?
I have no code so far. I am JS illiterate. I do a little hacking of
existing scripts when needed, but have never created from scratch.
I used to get JSs from a JS site, but nothing I can use for my purpose.
There are 5 of us who work for the same company and it would give us
a rough idea of how much take home pay we can expect given a certain
amount of hours worked. We all make the same low wages, so we can compare
against hrs worked vs amount paid previously. The numbers used were just
for analogy sake.
= Paul =