Thread: Adding a Comma
View Single Post
  #2  
Old 04-01-2021, 11:25 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding a Comma

You can use the PHP format_number


https://php.net/manual/en/function.number-format.php


If it doesn't work directly in the twig file set new method to use it and return the formatted value
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote