質問

I need to display currency $45700 as $45,700 using HTML.Can anyone please help me here how do I do it.

役に立ちましたか?

解決

To do this in Flow, insert an action that converts your number to the format you want.
Then you use the output of this action in your email body. It will be listed in the dynamic content under "Format number".

enter image description here

他のヒント

We can use the below HTML code:

<!DOCTYPE html>
<html>
   <body>
      <p>
         Formatting 150 as US dollars (US$):
      </p>
      <script>
         var formatter = new Intl.NumberFormat('en-US', {
            style: 'currency',
            currency: 'USD',
            minimumFractionDigits: 2,
         });
         // for 150$
         document.write(formatter.format(150));
      </script>
   </body>
</html>

Source:

How can I format numbers as dollars currency string in JavaScript?

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top