Hi,
Is it possible to add comma to a number in velocity?
I am trying to achieve this, suppose a number is 21650 then it should be saved as 21,650. Similaraliy 1560211 should be 1,156,021.
In Javascript we can use x.toLocaleString('en-US'); but on velocity I am not sure of such functions.
format numbers with commas
[edited by: Rishi at 9:20 AM (GMT 0) on Tue, Jan 10 2023]