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

418
Views
Intl.NumberFormat works differently in safari than in chrome

I am working on a vue project in which global filters are being used. I have defined a global filter to format the number to Japanese currency format. It is working fine in chrome. But in safari it has different output. In chrome i get the correct formatting (e.g 1938500)

¥1,938,500

but in safari of version 15.3 i get

JP¥1,938,500

code snippet for the filter is given below

const formatter = new Intl.NumberFormat("jp-JP", {
    style: "currency",
    currency: "JPY",
    minimumFractionDigits: 0
  });
  return formatter.format(value);

Any help would be grateful

Thank you

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

0

Country code for Japan is JP.
Language code for Japanese is ja.

Try this:

const formatter = new Intl.NumberFormat("ja-JP", {
  style: "currency",
  currency: "JPY",
  minimumFractionDigits: 0
});
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!