rupiah

package
v1.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 2 Imported by: 0

README ¶

📦 Package rupiah

Source Path: pkg/rupiah

🚀 Functions

RupiahFormat

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 ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func RupiahFormat ¶

func RupiahFormat(digit string) string

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".

Types ¶

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL