📜  javascript 格式价格 - Javascript 代码示例

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

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