#include "int2english.h" Char * PF_intToCardinalEnglish(strBegin, strEnd, value) Char *strBegin; /* output */ Char *strEnd; /* output */ LgInt value; /* input */ Char * PF_intToOrdinalEnglish(strBegin, strEnd, value) Char *strBegin; /* output */ Char *strEnd; /* output */ LgInt value; /* input */ Char * PF_intToDigitEnglish(strBegin, strEnd, value) Char *strBegin; /* output */ Char *strEnd; /* output */ LgInt value; /* input */ char * PF_strToDigitEnglish(char *strBegin, char *strEnd, String digitStr)
This module provides a program to convert integer into a readable ASCII string in English.
The PF_intToCardinalEnglish function convert any integer into cardinal English. It takes integer value as an input and produces a string of phonemes. Below are several examples of what will be produced by PF_intToCardinalEnglish function:
The PF_intToOrdinalEnglish function convert any integer into ordinal English. It takes integer value as an input and produces a string of phonemes. Below are several examples of what will be produced by PF_intToOrdinalEnglish function:
The PF_intToDigitEnglish function convert any integer into ordinal English. It takes integer value as an input and produces a string of phonemes. Below are several examples of what will be produced by PF_intToDigitEnglish function:
The PF_intToDigitEnglish function convert any integer into ordinal English. It takes string value as an input and produces a string of phonemes. Below are several examples of what will be produced by PF_strToDigitEnglish function: