Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

float to currency

function floatToEuro(float){
    var euroCurrency 
    euroCurrency = 'u20AC' + float.toLocaleString('nl-NL',{minimumFractionDigits: 2});
    console.log(euroCurrency);
    return euroCurrency;
};
 
PREVIOUS NEXT
Tagged: #float #currency
ADD COMMENT
Topic
Name
2+5 =