This is my configuration. where i have option in my web-app to switch between English and Deutsch.
numeral.register('locale', 'de', {
delimiters: {
thousands: '',
decimal: ','
},
abbreviations: {
thousand: 'k',
million: 'm',
billion: 'b',
trillion: 't'
},
ordinal : function (number) {
return '.'
},
currency: {
symbol: '€'
}
})
"value_in_per" = "0,9525"
now i wantto change this "0,9525" to English locale "0.9525" using numeral JS..
how can i change using numeral JS
This is my configuration. where i have option in my web-app to switch between English and Deutsch. numeral.register('locale', 'de', { delimiters: { thousands: '', decimal: ',' }, abbreviations: { thousand: 'k', million: 'm', billion: 'b', trillion: 't' }, ordinal : function (number) { return '.' }, currency: { symbol: '€' } })
"value_in_per" = "0,9525" now i wantto change this "0,9525" to English locale "0.9525" using numeral JS.. how can i change using numeral JS