📜  js 格式 urcurency - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:37.101000             🧑  作者: Mango

代码示例3
function floatToEuro(float){
    var euroCurrency 
    euroCurrency = '\u20AC' + float.toLocaleString('nl-NL',{minimumFractionDigits: 2});
    console.log(euroCurrency);
    return euroCurrency;
};