Looping structure in JavaScript Posted March 20, 2014 Hi All, Can you please provide me a looping structure in javascript where a person is charged $2/10kb i.e, for 10KB data usage he will be billed $2 and $2 for next 10KB and so on . For e.g If a customer use 0.1KB-10KB he wiil be charged $2. for anything more than 10KB but less than 20KB he will be charged $4 and so on.... Thanks in advance :Happy:
Looping structure
in JavaScript
Posted
Hi All,
Can you please provide me a looping structure in javascript
where a person is charged $2/10kb i.e, for 10KB data usage he will be billed $2 and $2 for next 10KB and so on .
For e.g If a customer use 0.1KB-10KB he wiil be charged $2.
for anything more than 10KB but less than 20KB he will be charged $4 and so on....
Thanks in advance :Happy: