2 Replies - 11258 Views - Last Post: 07 October 2010 - 02:40 AM Rate Topic: -----

#1 nelsonaurell  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-October 10

How to convert number to words

Posted 07 October 2010 - 01:24 AM

Good day to all. .

I am using Visual Studio 2008 professional edition . i really do not know of what will be the codes that i am going to input. . by the way this is the scenario:

on Textbox is a number then label should be the in words of the number from the textbox. .
for example : (textbox) 1500.05 = (Label) One Thousand Five Hundred Pesos and Five Centavos.

pls help . .. pls pls pls

Is This A Good Question/Topic? 0
  • +

Replies To: How to convert number to words

#2 chrixko  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 63
  • Joined: 25-November 08

Re: How to convert number to words

Posted 07 October 2010 - 02:27 AM

Hi nelsonaurell,

there is no .Net-Function for this. The simple logic behind this is, that you have to split the number in to the "decimal parts" like thousands and hundreds etc. and define the words for each value.

I've found some example solutions here: http://www.codeproje...odesamples.aspx
And here: http://www.dotnetspi...mbers-word.aspx

I hope I could help you. ;)

This post has been edited by chrixko: 07 October 2010 - 02:28 AM

Was This Post Helpful? 0
  • +
  • -

#3 nmgod  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 48
  • View blog
  • Posts: 233
  • Joined: 26-March 08

Re: How to convert number to words

Posted 07 October 2010 - 02:40 AM

This was answered recently, here is the thread

http://www.dreaminco...mbers-to-words/
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1