ACF: replace comma with another sign [closed]

Modify the following line in your function:

$value = number_format(floatval($value), 2);

To include another two arguments from the number_format() function – namely the decimal separator (set to a dot) and the thousands separator (set to an apostrophe)

$value = number_format(floatval($value), 2, ".", "'");

So in total this line says: format the number (after floating it to an integer) to two decimal places using a dot to separate decimals and an apostrophe to separate the thousands.

Online demo: https://shorturl.at/twFWX

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)