hargaTerbilang()
Converts a number to its Indonesian word representation for currency.
hargaTerbilang(int|float $angka) : string
For example: 12500 will be converted to "Dua Belas Ribu Lima Ratus Rupiah".
Parameters
- $angka : int|float
-
The numeric value to convert.
Return values
string —The spelled-out price in Bahasa Indonesia.