You can use <
<your SharePoint variable> >
since your context is HTML markup. It should render as < > respectively.
Use a dynamic fx in your logic app with the formatNumber()
function; https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#formatnumber.
formatNumber(<your SharePoint value>, "C")