Penambahan beberapa fitur di Mahasiswa

This commit is contained in:
Ariyutta
2026-11-09 09:34:54 +07:00
parent 48569f3172
commit 6ada051b63
25 changed files with 1602 additions and 174 deletions
+6
View File
@@ -78,6 +78,12 @@ final class LegacyFormat
return self::DAYS[(int) $day] ?? null;
}
/** Mis. "Rp 4.500.000". */
public static function rupiah(int|float $amount): string
{
return 'Rp '.number_format($amount, 0, ',', '.');
}
/** "07:30:00" menjadi "07.30". */
public static function time(?string $time): string
{