• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Change arabic number format.

General Discussion
2
2
233
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    rosisse last edited by 11 Sept 2020, 13:01

    How can I use Arabic language without displays arabic number ١٢٣٤٥ ?
    I want display Normal format 12345.

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 11 Sept 2020, 14:48

      Hi @rosisse,

      If you check this file packages/Webkul/Core/src/Core.php. In this file we have used NumberFormatter class. You need to set en locale for each object.

      For example,
      $num = NumberFormatter('en', NumberFormatter::DECIMAL);

      1 Reply Last reply Reply Quote 1
      1 out of 2
      • First post
        1/2
        Last post