Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndonesianNumber ¶
func IndonesianNumber(x interface{}) string
IndonesianNumber format number to indonesian number format (X.XXX) base on Pedoman Umum Ejaan Bahasa Indonesia (PUEBI) III.A.4 https://badanbahasa.kemdikbud.go.id/lamanbahasa/sites/default/files/PUEBI.pdf Example: 1000000 to 1.000.000
func IndonesianRupiah ¶
func IndonesianRupiah(value interface{}) string
IndonesianRupiah format number to RpX.XXX base on Pedoman Umum Ejaan Bahasa Indonesia (PUEBI) II.H.5 https://badanbahasa.kemdikbud.go.id/lamanbahasa/sites/default/files/PUEBI.pdf
func JsonStringForCsv ¶
JsonStringForCsv cleans and sanitizes a JSON string for CSV. It removes unnecessary characters and ensures the JSON string follows valid formatting. The function reduces cognitive complexity by utilizing helper functions for specific checks and transformations. The cleaned JSON string is returned.
Types ¶
This section is empty.