package
Version:
v1.0.15
Opens a new window with list of versions in this module.
Published: Jul 4, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
📦 Package rupiah
Source Path: pkg/rupiah
🚀 Functions
RupiahFormat formats a given number string into a string
with a 'Rp. ' prefix and thousand separator.
If the given number string is invalid, it returns "Rp 0".
func RupiahFormat(digit string) string
Documentation
¶
RupiahFormat formats a given number string into a string
with a 'Rp. ' prefix and thousand separator.
If the given number string is invalid, it returns "Rp 0".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.