Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - checkval() return a dollar amount in english words http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 checkval()          Return a dollar amount in English words
------------------------------------------------------------------------------
 Declaration
   string.hdr

 Syntax
   func char checkval extern
   param value dbl eAmount

 Arguments
   eAmount is a numeric value.

 Return
   String representation of the input numeric.

 Description
   This function converts the number passed in eAmount to its equivalent
   in wording. It can be used to write out checks.

 Example
   #define EXAMPLE_STRING
   #include example.hdr

   proc Test_checkval
   ? checkval( 123.45 )  // output: ONE HUNDRED TWENTY THREE and 45 CENTS
   endproc

   proc main
   Test_checkval()
   endproc

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson