Support Intl.NumberFormart to format number or string

Hi,
does FuseOpen support Intl.NumberFormat API?
if not, how can i format amount (money).
thank

You can use any JavaScript library that does it such as dinero.js, currency.js, currencyformatter.js, etc.

Download the library, include it into the .unoproj file:

    "Includes": [
        "*",
        "JavaScript/dinero.js:Bundle"
    ]

Add it inside your .UX file:

    <JavaScript>    
       var Dinero = require('JavaScript/dinero.js');
       
       price = Dinero({ amount: 5000, currency: 'EUR' });

    </JavaScript>

Remember to do uno clean to rebuild everything from scratch to be sure that the included file has been loaded into the project.