Just noticed one thing if i add a token in the body ${{my.formattedAmount}} like this it gives an error but if i give $ {{my.formattedAmount}} then it works not sure if thats the issue ?
Additionally when i preview this is how it displays with the tokens and it make the width longer , i guess it will work as expected when we render with a actual lead which has a value against it right ?

I just tried using the below and it gives me the result , let me know if something looks unappropriate to you
Token used :


This is the code : $${number.format("${esc.h}${esc.h},${esc.h}${esc.h}${esc.h}", $OpportunityList.get(0).new_approvedworkingcapitaltotalamount)}
Just added a extra $ before the toke you shared
Just noticed one thing if i add a token in the body ${{my.formattedAmount}} like this it gives an error but if i give $ {{my.formattedAmount}} then it works not sure if thats the issue ?
Of course. If you use the prefix ${ that conflicts with Marketo’s email variable syntax.
Do don’t put the dollar sign outside the Velocity token. Add it to the format string (since in fact, it is part of the format!)
${number.format("${esc.d}${esc.h}${esc.h},${esc.h}${esc.h}${esc.h}",$yourField)}