How can I format a number respecting the last two number as decimals?
1000 -> 10,00
123456 -> 1.234,56
I am trying the code below but it won't work keeping the last two places as decimals.
fromat(value) {
return value === null ? "0,00" : Numeral(value).format('0,0[.]00');
},
Thank you.