Skip to content

Instantly share code, notes, and snippets.

View jlleblanc's full-sized avatar
📈
Investing

Joe LeBlanc jlleblanc

📈
Investing
View GitHub Profile
function comma_format_number (value) {
value = value.replace(/,/g, '');
var lead = value.length % 3;
var lead_segment = value.substring(0, lead);
value = value.substring(lead, value.length);
value = value.match(/(\d{3})/g);
if (value != null && value.length > 0) {
<?php
defined( '_JEXEC' ) or die;
/**
* An helper class for generating dropdowns in Joomla.
*
* @package default
* @author Joseph LeBlanc
*/
class SmartDrops
### Keybase proof
I hereby claim:
* I am jlleblanc on github.
* I am jlleblanc (https://keybase.io/jlleblanc) on keybase.
* I have a public key whose fingerprint is 3622 6D6B DEE2 BA99 E058 C85D ADD2 7B9D 8C28 288A
To claim this, I am signing this object: