Change Currency prefix using money() method

Is it possible to customise the currency prefix when using the money() method? I am currently using 'ZAR" as a parameter, however that sets the prefix to ZAR, which is not wrong - however R is more commonly used in South Africa.
2 Replies
Tieme
Tieme5mo ago
Instead of using money() i personaly use
->formatStateUsing(fn ($state): string => Number::currency($state, 'EUR', auth()->user()->appearance->language)),
->formatStateUsing(fn ($state): string => Number::currency($state, 'EUR', auth()->user()->appearance->language)),
farimir
farimir5mo ago
Thanks, will give that a try