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

237
Views
How can I check if a number is in exponential notation?

How can I check if number is exponential? I have a case in my code when adding or multiply integers, when usual number gets converted to exponential.

A rough example - 10000000*100000000000000000 will return 1e+24.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Convert to a string and check for e.

let num = 10000000;
console.log(num.toString().includes('e'));

num *= 100000000000000000;
console.log(num.toString().includes('e'));

about 4 years ago · Juan Pablo Isaza Report
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!