Jump to content

Numbers too Text Value

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
portem1

portem1

    Newbie

  • Members
  • Pip
  • 2 posts
Is it possible too change numbers into text?. I have two textboxes, textbox one has a value like 85.22, can textbox2 read as Eighty Five Dollars and 22/100 ?. No matter what textbox1 value is it will read text in the second textbox.
Thanks for any Help you can give me. Z

#2
JewFro297

JewFro297

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 224 posts
This probably isn't the most efficient way of doing things, but you could set up a for loop that cycles through each digit and picks out the correct word. so for 85.22 it would look at the 8 and output eighty, look at the five and output five, and put whatever is after the decimal over 100 in a fraction. Probably wouldn't look to pretty to code.
Yea Dat's right.
Apple sucks :thumbup:
[SIGPIC][/SIGPIC]

#3
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts

JewFro297 said:

This probably isn't the most efficient way of doing things, but you could set up a for loop that cycles through each digit and picks out the correct word. so for 85.22 it would look at the 8 and output eighty, look at the five and output five, and put whatever is after the decimal over 100 in a fraction. Probably wouldn't look to pretty to code.

I actually think that that is somewhat the best way.