Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

108
Views
trying to add this formula in javascript

So I'm building a discord level bot and am trying to get this formula to be into my code, but idk how I would do that.

This is the formula 5 * (lvl ^ 2) + (50 * lvl) + 100 - xp

when pasting in this console.log(5 * (78 ^ 2) + (50 * 78) + 100) it gives me an answer that is 4380, when the result should be 34420.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!