Format Rupiah di Ruby
- Last modified atTidak seperti saat menggunakan Ruby on Rails, cara membuat format rupiah dengan Ruby tanpa framework Ruby on Rails boleh dibilang sedikit manual
Format Rupiah di Ruby
Format Rupiah di Ruby on Rails
Jika menggunakan Ruby on Rails, format mata uang lebih mudah karena Rails menyediakan helper method yang bernama number_to_currency.
Artikel lain mengenai operasi tanggal di Ruby bisa dilihat di Date Operation in Ruby.
Recent Posts
Subdomain Hijacking
My dormant subdomain was recently hijacked, redirecting it to a online gamble registration page.
C# DbContext ServiceLifeTime
my note about C Sharp ServiceLifeTime
PostgreSQL Index Usage Monitoring
Having too many unused or underused indexes on a table can slow down write and update operations in your PostgreSQL database, making it crucial to regularly identify and manage them for optimal performance.
KAK Labs Newsletter #6 - Staying Safe From Pegasus Spyware
Newsletter #6 - Pegasus, Ruby, PostgreSQL and networkQuality tool
Material Design - Paragraph Spacing
According to Google's Material Design, keep paragraph spacing in the range between .75x and 1.25x of the type size.