format number

Stephen Paul Weber created

Change summary

bin/billing_monthly_cronjob | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

bin/billing_monthly_cronjob 🔗

@@ -186,7 +186,7 @@ class ExpiredCustomer
 
 		def renewal_notification
 			"Failed to renew account for #{tel}, " \
-			"balance of #{@row['balance']} is too low. " \
+			"balance of $#{"%.4f" % @row['balance']} is too low. " \
 			"To keep your number, please buy more credit soon. " \
 			"#{btc_addresses_for_notification}"
 		end