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

127
Views
convert from string to integer of apiLink value in Javascript

i have an apiLink for pdf open.

i want to convert companyValue and empValue into integer format.

`https://mobileapi.unq.co.il/api/TlushSachar/GetPrintTlushMisradHinuch?company=${companyValue}&year_month=${yearMonthValue}&employee=${empValue}`)

How can i convert those two value from string to integer?

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

0

Try it:

`https://mobileapi.unq.co.il/api/TlushSachar/GetPrintTlushMisradHinuch?company=${parseInt(companyValue)}&year_month=${yearMonthValue}&employee=${parseInt(empValue)}`)

You can see: https://www.w3schools.com/js/js_number_methods.asp

about 4 years ago · Juan Pablo Isaza Report

0

you can use parseInt() Method for reference see this

about 4 years ago · Juan Pablo Isaza Report

0

use the following method to convert the string to a number

Number(companyValue)
Number(empValue)
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!