📜  浮动到货币 - Javascript 代码示例

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

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