* Turns a decimal value to its binary representation */
| 795 | * Turns a decimal value to its binary representation |
| 796 | */ |
| 797 | char* RCSwitch::dec2binWzerofill(unsigned long Dec, unsigned int bitLength){ |
| 798 | return dec2binWcharfill(Dec, bitLength, '0'); |
| 799 | } |
| 800 | |
| 801 | char* RCSwitch::dec2binWcharfill(unsigned long Dec, unsigned int bitLength, char fill){ |
| 802 | static char bin[64]; |