473,385 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Format Numbers into words

Hello,

Is there a way in VB.NET to write out a number using text. Ie, 119, One
Hundred and Nine-Teen. This is very similar to how you would write a check.

TIA,

Steve Wofford
www.IntraRELY.com
Nov 20 '05 #1
7 4359
Cor
Hi IntraRely,

I never seen it and it would be very much language/culture dependable I
think

Cor
Nov 20 '05 #2
Hi,

I think you may need to do it yourself by coding.

Here is a link for VB6.
http://www.vbexplorer.com/VBExplorer/tips/src36.asp

If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #3
* "Cor" <no*@non.com> scripsit:
I never seen it and it would be very much language/culture dependable I
think


It's sometimes used when printing money transfer papers to ensure that
the amount of money entered into the field is correct.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Cor
Hi Herfried,
Is there a way in VB.NET to write out a number using text. Ie, 119, One
Hundred and Nine-Teen. This is very similar to how you would write a
check.
I never seen it and it would be very much language/culture dependable I
think
It's sometimes used when printing money transfer papers to ensure that
the amount of money entered into the field is correct.


The question was "Is there a way in VB.Net and Peter did give a very nice
link where he told there was a routine using English in VB6 (VB6 but in a
way that it is convertable in 5 minutes to VB.net, I almost did it).

:-))

Cor
Nov 20 '05 #5
* "Cor" <no*@non.com> scripsit:
Is there a way in VB.NET to write out a number using text. Ie, 119, One
Hundred and Nine-Teen. This is very similar to how you would write a
check. I never seen it and it would be very much language/culture dependable I
think

It's sometimes used when printing money transfer papers to ensure that
the amount of money entered into the field is correct.


The question was "Is there a way in VB.Net and Peter did give a very nice
link where he told there was a routine using English in VB6 (VB6 but in a
way that it is convertable in 5 minutes to VB.net, I almost did it).


You are right -- it would be nice to have a spelling in more than one
language to make the application language-independent.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
Hi,

For different languages issue, you may try to use resource DLLs for
internationalization.

International Application
http://groups.google.com/groups?q=%2...nationalizatio
n&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=e3QZE8iDAHA.196%40cppssbbsa05&rnum=3

Resource DLL's - How to make?
http://groups.google.com/groups?q=%2...nationalizatio
n&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=eByALQPIAHA.196%40cppssbbsa05&rnum=2

Tutorial: Internationalization
http://www.vb-helper.com/tut9.htm

If you have any concern, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #7
Hi,

As Herfried said, I think you may try to write a few resouce dll for
Internationalization to make the application independent of languages

Here is some link about Internationalization.
Microsoft .NET Internationalization
http://www.microsoft.com/globaldev/g...otneti18n.mspx

Globalizing and Localizing Applications
http://msdn.microsoft.com/library/de...us/vbcon/html/
vboriinternationalization.asp

If you have any concern on this issue ,please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ian | last post by:
I would like to have some validation on a date field. The date format is dd/mm which is used for our financial year end. I suppose I need also consider leap years. Please can you shed some light on...
5
by: Ataru Morooka | last post by:
Hi, my table has to have a column with the months names (january, february...). When I order it by month it is ordered alphabetically and that's not what I need. Reading this ng I found someone...
5
by: Subrahmanyam Arya | last post by:
Hi Folks , I am trying to solve the problem of reading the numbers correctly from a serial line into an intel pentium processor machine . I am reading 1 byte and 2byte data both positive...
5
by: Fabian | last post by:
I am making a winforms-program in Visual Studio, that connects to an Access database. In the database all dates are presented in this format : dd-mm-yyyy. In my application I have a DatetimePicker,...
0
by: scotch.yard | last post by:
Hi, I filled a DataGridView with some data and then changed some cells format in order to separate them by content. For example, city names are blue, numbers are green, some words are in...
6
by: psbasha | last post by:
I have a input format XX:YY:ZZ and the start value may be 'n' digit numbers for X,Y,Z. So I have to assign the numbers based on the above format ( Format may change) Say Example - 1 ...
5
by: lim4801 | last post by:
I am currently in doing a program which is given by my tutor: Contemplate that you are working for the phone company and want to sell "special" phone numbers to companies. These phone numbers are...
4
by: mpurnachary | last post by:
Hi... Plz... Help me... I want some code for Converting a Number (money) to Words in Indian Format in C#.NET eg.: if I enter 12345678 then it gives as ... " ONE CRORE TWENTY...
9
by: Nico VanHaaster | last post by:
Hello, I don't really want to get too much of a debate here, but I have a feeling this just might cause one. I have been trying to increase the performance of one of my applications. (C# .Net...
3
by: Bouzy | last post by:
I have a list of words and am trying to replace all the numbers in my list with whitespace. for word in words: numbers = re.search('+', word) word = clearup(word) if word in...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.