January 2012

Coding a Simple Utility Function – Don Macrae

function IntToWords(const Value: Cardinal): string;
//IntToWords( 123456 )
//’one hundred and twenty three thousand four hundred and fifty six’

Either beforehand or on laptops at the meeting the above function was worked on, and then each was looked at in turn. Three of them are here for you to peruse, any others I receive will be added.