Hi Trent, thanks for your reply and direction.
I found a better way and shorter of doing it. Leaving the code here for someone who might find it useful,
Thanks to Nick Khoo’s video –
https://www.youtube.com/watch?v=j3HftxMxbfs&t=564s&ab_channel=NickKhoo
Apply point control effect to the text layer and paste the below expression to sourceText param.
s = "" + Math.round(effect("Point Control")("Point")[0]);
"INR " + s.replace(/\B(?=(?:(\d\d)+(\d)(?!\d))+(?!\d))/g, ',') + "+";
//use this for numbers with decimals
s = "" + Math.round(effect("Point Control")("Point")[0]);
"INR " + s.replace(/\B(?=(?:(\d\d)+(\d)(?!\d))+(?!\d))/g, ',') + "+";
Some contents or functionalities here are not available due to your cookie preferences!
This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.