Related Posts
NSIS CharAt Macro
Lord knows why the NSIS folks didn’t add a CharAt function to their API. In case you need it to parse a string, here’s a Macro that makes StrCpy work like a CharAt function [bash] ;Get a character inside a string given an index. ;Usage: CharAt String Index Output !macro CharAt InputString Index Output StrCpy […]
Do you dream about coding with Python and Qt4 (PyQt4)? Temboo needs you.
Creative Qt/PyQt GUI Developers needed About us: Temboo is a New York-based software company. We have developed a new software model which uses a powerful graphical interface to allow non-programmers to quickly build complex workflows enabling disparate databases, web services, and applications to communicate and interact. Think of our technology as an “inter-operating system,” a […]
javascript: Format a number to display thousands US style (#,###,###,###)
[javascript] /** * Format a number to display thousands like in the US -> 1000000 => 1,000,000 * @param number * @returns */ function formatThousands(number) { return Math.max(0, number).toFixed(0).replace(/(?=(?:d{3})+$)(?!^)/g, ‘,’); } [/javascript]
