Support » Plugin: Cryptocurrency All-in-One » To reduce the number of zeros in the prices

  • Resolved alexterrenas

    (@alexterrenas)



    Tell me how to reduce the number of zeros in the price after the dot? Is there a way to make it so that the price is displayed without the tenths and hundredths. For example 14500 without . and 00000

    https://prnt.sc/ht7dol

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author byankov

    (@byankov)

    You need to adjust number format parameters in currencyprice.class.php:
    number_format(..., 4, '.', '')

    Maybe like:
    number_format(..., 0, '.', '')

Viewing 1 replies (of 1 total)
  • The topic ‘To reduce the number of zeros in the prices’ is closed to new replies.