magna
Follow @magnawebstudio on Twitter Follow @magnawebstudio on Twitter
Follow /magnawebstudio on LinkedIn Follow /magnawebstudio on LinkedIn
awarded site
BS"D
magna web studio
Contact us! Contact us!
WB-Developers' Corner
WB-Developers' Corner
       [rz] Number to Words


This extension writes in words a numeric value; useful for special commerce-oriented pages.

Some features:

- Optionally connects with an entry box and automatically handles the proper events to update the
  value in words.
- Manually updates the value calling the instance via events.
- Options to allow zero values and how to display decimal values.
- Custom texts that are integrated with the value in words.
- Alignments supported.
- Fonts, colors and other styles for the text.

...and more!

Currently supported languages:

- English (United Kingdom, United States).
- Spanish (Spain/Latin America, Puerto Rico).
- Hebrew.
- German.
- Dutch.
- French (France, Belgium, Switzerland).
- Italian.
- Portuguese (Portugal, Brazil).

...and more to come!


HTML 4.01 Transitional
W3C compliant


DEMO


How to use?

1. It is assumed that a value source is present in your page.
2. Drag and drop an instance that matches the desired language.
3. Optionally setup some parameters and leave them as default.
4. Optionally enter the edit box name that it is the value source or call an instance via events
    from other objects or methods.
5. Preview or publish.

How to connect with an entry box?

1. Drag and drop an edit box.
2. Drag and drop a language instance.
3. Enter the edit box name via the instance properties dialog box.

How to manually call the instance?

1. From any process you can call the language instance
    as
NumberToWordsInstance.display(number);
2. Replace 'NumberToWordsInstance' with the actual instance name.
3. Use the 'number' parameter to specify the value to display in words.

Enjoy!
w3c compliant
© 2012-19 by MAGNA web studio • all rights reserved


new shop with