Click here to Skip to main content
15,886,789 members
Articles / Desktop Programming / MFC

Float and datetime to Vietnamese textual

Rate me:
Please Sign up or sign in to vote.
4.40/5 (6 votes)
4 Aug 2002CPOL1 min read 65.7K   921   10  
A DLL to convert Float and datetime to Vietnamese textual string
#if !defined (NUMWORD_H_)
#define NUMWORD_H_

// mimic a boolean true
#ifndef TRUE
#define TRUE	1
#endif

// mimic a boolean false
#ifndef FALSE
#define FALSE	0
#endif

// function prototypes
char *getNumCardinal (char *szDest, unsigned long num, short isProper, short isAnd);
char *getNumOrdinal  (char *szDest, unsigned long num, short isProper, short isAnd);
char *dropZeros      (char *szDestination, char *szSource);

#endif  /*/ NUMWORD_H_ /*/

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions