Browse Source

don't display comma on currency

pull/2/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
99c37494f7
  1. 1
      src/const/CustomFunc.js

1
src/const/CustomFunc.js

@ -256,6 +256,7 @@ export const formatRupiah = (angka, prefix) => {
} }
export const renderFormatRupiah = (text, prefix) => { export const renderFormatRupiah = (text, prefix) => {
text = text.split('.')[0];
if (text) { if (text) {
return formatRupiah(text, prefix) return formatRupiah(text, prefix)
} else { } else {

Loading…
Cancel
Save