Converts digits 0-9 to thier text equivelent and aggregates this to the supplied chain Returns: None

Return TypeFunction nameArguments
void_speakdigit(hzChain&,int32_t,)

Declared and defined in file: hzTextproc.cpp

Function Logic:

0:START 1:num 2:0 3:items 4:1 5:items 6:2 7:items 8:3 9:items 10:4 11:items 12:5 13:items 14:6 15:items 16:7 17:items 18:8 19:items 20:9 21:items 22: No text

Function body:

void _speakdigit (hzChain& Z)int32_t num, 
{
   //  Category: Text Presentation
   //  
   //  Converts digits 0-9 to thier text equivelent and aggregates this to the supplied chain
   //  
   //  Arguments: 1) Z The chain to add to
   //     2) num The digig to convert to word
   //  
   //  Returns: None
   switch  (num)
   {
   case 0: Z << "zero" ;
   case 1: Z << "one" ;
   case 2: Z << "two" ;
   case 3: Z << "three" ;
   case 4: Z << "four" ;
   case 5: Z << "five" ;
   case 6: Z << "six" ;
   case 7: Z << "seven" ;
   case 8: Z << "eight" ;
   case 9: Z << "nine" ;
   }
}