Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

float to currency js

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