Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Convertion Numbers in words on Vf page
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Convertion Numbers in words on Vf page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 05:51 AM
Re: Convertion Numbers in words on Vf page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 07:47 AM
In English, you would say "Four Thousand Eight Hundred Forty Five", as "and" is used only to denote a separation of currency, such as dollars and cents in the United States. English has several rules for various number sets, which makes the exact logic non-trivial: 0 through 19, 20 through 99, 100 through 999, 1,000 through 999,999, and 1,000,000 through 999,999,999. Fortunely, as I stated, you do not use the word "and" unless there are fractional parts. Once you write the function to convert the numbers to words, however, it does not matter if you use it in a PDF VF page or a "regular" VF page.
~ sfdcfox ~
I am a sandwich. That is all.
Re: Convertion Numbers in words on Vf page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-15-2013 06:05 PM

