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

88
Views
Adding currency with dynamic language

I want to make a function to add 2 currency with string format and dynamic by language code. something like this

function addCurrecy(c1, c2, lang) {
  /* */
  return c
}

console.log(addCurrecy('3.319,00 €', '100,00 €', 'de-DE')) // '3.419,00 €'
console.log(addCurrecy('CHF 1’719.90', 'CHF 100.00', 'de-CH')) // 'CHF 1’819.90'

The Intl.NumberFormat() can help me format the number, but I get stuck at plus number. Any suggestion guys?

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!