diff --git a/src/const/CustomFunc.js b/src/const/CustomFunc.js index 6ce81f4..0fec461 100644 --- a/src/const/CustomFunc.js +++ b/src/const/CustomFunc.js @@ -256,6 +256,7 @@ export const formatRupiah = (angka, prefix) => { } export const renderFormatRupiah = (text, prefix) => { + text = text.split('.')[0]; if (text) { return formatRupiah(text, prefix) } else {