... I get "%04b" on the web browser, and "1010" from the command line, which is what I expect (binary conversion of the decimal "10").use CGI; $query = new CGI; print $query->header; $a = sprintf("%04b", 10); print $a;
In reply to sprintf() and CGI by asiufy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |