Home · Tools · Implementations · Manage · Register · Tutorials · About |
| | | |
NumberConversion
Endpoints
Contributed Clients What is this? Add / Edit / Delete Client No clients are currently listed Detailed Description Visual DataFlex (http://www.visualdataflex.com)
Visual DataFlex� is designed for developing database independent web
and Windows� applications - fast! The finely tuned interaction
between the components of the Visual DataFlex system eliminates a
huge amount of tedious and redundant custom coding. Developers
seeking to quickly create database applications have relied on
Visual DataFlex for years as their RAD tool of choice.
One of the primary goals of Web Service implementation in Visual
DataFlex was simplicity. A developer should be able to create and
use web services without needing to understand all of the underlying
complexities that make them work. If you can create a function, you
can create a web-service. If you can call a function, you can access
a web service.
Visual DataFlex provides support for both Server and Client side web
services. While this means that you can use the Visual DataFlex Web-
application server to create web services that can be accessed by
any Visual DataFlex windows application, it is important to
understand the use of web-services goes far beyond this capability.
On the server side, a Visual DataFlex web service can be accessed by
any application. On the client side, a Visual DataFlex application
can access any web-service.
NumberConversion
NumberToWords
Converts numbers into English words. This service returns the word
corresponding to the positive number passed as parameter. Limited to
quadrillions.
NumberToDollars
Returns the non-zero dollar amount of the passed number.Usage Notes NumberToWords
Call the function NumberToWords passing a number (unsignedLong) as a
parameter. The function will return a string containing the words
equivalent to the number passed.
Example:
string sMyNumber
get NumberToWords 7623 to sMyNumber // sMyNumber will contain "seven
thousand six hundred and twenty three"
NumberToDollars
Call the function NumberToDollars passing a number (decimal) as a
parameter. The function will return a string containing the words
equivalent to the number passed and the words dollars and cents. If
zero is passed to the function, an empty string will be returned.
Example:
string sMyNumber
get NumberToDollars 7623.89 to sMyNumber // sMyNumber will
contain "seven thousand six hundred and twenty three dollars and
eighty nine cents" |