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

129
Views
why the small number string is greater than big number string in javascript

In some cases,the small number string is greater than big number string.

such as '2' is greater than '1000';

but '1' isn't greater than '1000';

and '2' isn't greater than '300'

I know that I am trying to comparing string,not a real number type,and it should be compare as lexical comparition.

I wanna ask what's the calculation principle of when these tow number string are comparing.

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!