Product description
NumSpeller is a software component that translates a number into his equivalent spelling. eg:
123 spells:
In English: One hundred and twenty three
In Spanish: Ciento veintitrés
in German: Einhundert dreiundzwanzig
etc.
Category
This development component is available in two different technologies:
- Microsoft ActiveX OCX. For Visual Basic, Access, PowerBuilder ...
- Java Class. For HTML ..
Is suitable to software developers for accounting oriented applications, to write the long amount in Bank check printing, checkbooks, etc.
Features
Languages have different logic rules to count. We have done a great effort and managed to implement up to 12 languages. Until now, here is the list.
- Spanish
- Basque
- English
- Catalan
- French
- German
- Italian
- Portuguese
- Norwegian
- Breton
- Galician
- Sweden
Our goal is to implement as much languages as necesary, so, if your`s is not among them, please fill and send us this form in order to add it to the list.
NumSpeller supports up to 24 digits amounts, and , of course, decimals.
Installation instructions
Download the component here first, click Setup and follow instructions
How to use
For Microsoft Visual Basic
It is simple. As in other OCX, insert the component in an VB or ACCESS Form and:
First method: A direct call to its method parsing arguments:
Second method: Give value to its properties:
' set properties
NumSpeller1.Number = my_number
NumSpeller1.language = my_language.ListIndex + 1
' do it
NumSpeller1.DoIt
' get the result
my_result = NumSpeller1.result
For HTML Java
Declare the Object
<OBJECT NAME = "NumSpeller1" codetype="application/java" classid="java:NumSpeller"> <param name='NUMBER' value= "9876543210"> <param name='LANGUAGE' value= "1"> </OBJECT>
And call it
document.FORM.result.value = document.NumSpeller1.Spell(document.FORM.number.value, "español") ;
Properties
| language |
String
|
The language to apply |
| number |
String
|
The number to spell |
| result |
String
|
The spelled number |
Methods
| Spell | function |
result = NS.Spell(number, language)
|
| DoIt | procedure |
NS.DoIt
|