Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module exposes a single function which given a number parameter converts it into words . I created this module when I was working with a eCommerce application where i needed to convert amount into words to be displayed on invoice.
So people needing similar feature can simply use it just by installing and calling the function from their module.
How to use it ?
- Download module
- Install it as other contributed module
Example Usage:
$amount = 1234;
commerce_numbers2words($amount);
echo $amount;
it prints out One Thousand Two Hundred and Thirty-Four.
| Attachment | Size |
|---|---|
| commerce_numbers2words.zip | 8.52 KB |
Project information
- Project categories: E-commerce
- Created by bjmagar1906 on , updated
