473,322 Members | 1,352 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,322 software developers and data experts.

decimal format

What is the best way to format the data in a textbox into a decimal
(#########.##)?

Thanks,
Brent
Nov 20 '05 #1
6 3507
Hi Brent.

Some people wait days for an answer. Some people can't wait an hour!
(you're the second today)

Avenues for enquiry have been posted to your original question. ;-)

Regards,
Fergus
Nov 20 '05 #2
this should do the trick

strString = FormatNumber(strString, 2, TriState.True, TriState.False,
TriState.False)

eric

"Brent Burkart" <Br***********@wvmb.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
What is the best way to format the data in a textbox into a decimal
(#########.##)?

Thanks,
Brent

Nov 20 '05 #3
Good to know that you are keeping track.

"Fergus Cooney" <fi******@tesco.net> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
Hi Brent.

Some people wait days for an answer. Some people can't wait an hour!
(you're the second today)

Avenues for enquiry have been posted to your original question. ;-)

Regards,
Fergus

Nov 20 '05 #4
Hi Scott,

Lol. I thought you were ignoring me.

Given that it's you, I won't explain what I meant - I know you have
serious difficulty understanding people at times, so there's no point. :-(

Fond regards,
Fergus

Nov 20 '05 #5
fergus, if he actually contributed to this ng, i think he'd be able to
recall both repeat and unique posts at least spanning one or two days. this
question in particular gets posted almost once a day. i think most of us
hear know what you meant and know why you have to s p e l l things out a bit
more for scott. but then again, that would mean we're keeping track too.

keep 'em truck'n

steve
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:eG**************@TK2MSFTNGP10.phx.gbl...
Hi Scott,

Lol. I thought you were ignoring me.

Given that it's you, I won't explain what I meant - I know you have
serious difficulty understanding people at times, so there's no point. :-(

Fond regards,
Fergus

Nov 20 '05 #6
Cheers Steve,

:-))

Regards,
Fergus
Nov 20 '05 #7

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

Similar topics

6
by: serpent17 | last post by:
Hello, I was looking at this: http://docs.python.org/lib/module-struct.html and tried the following >>> import struct >>> struct.calcsize('h') 2 >>> struct.calcsize('b')
4
by: John Bowman | last post by:
Hi, A couple Q's , so I've come to the experts<g>. 1) I need a definitive answer to the following debate. I've got a couple developers who disagree on the following question. We've got an XML...
3
by: Mark | last post by:
I have a Decimal or a Double - your choice. I'd like to print the number as string with a specified number of decimal places. Let's say my number 110.5, and I'd like to capture it in a string...
10
by: Paul Sullivan | last post by:
decimal d; d = 1.1M OR d= (decimal) 1.1 Discussioon
1
by: Mythran | last post by:
Dim value As Decimal = 1234.56 Dim format As String = _ "Positive $#,##0.00;Negative $#,##0.00;" Dim s As String = value.ToString(format) Dim d As Decimal = Decimal.Parse(s) The last line...
11
by: Pieter | last post by:
Hi, I'm having some troubles with my numeric-types in my VB.NET 2005 application, together with a SQL Server 2000. - I first used Single in my application, and Decimal in my database. But a...
2
by: hunslair | last post by:
This is a really basic question. I am taking a teach yourself beginners course on Access 2003 and have run into a road block on one practice. In a select query, I have created a simple calculation...
12
by: ThunderMusic | last post by:
Hi, We have a part of our application that deals with millions of records and do some processing of them. We've achieved a pretty good performance gain by developping a custom DateTime.ToString...
7
by: Andrus | last post by:
How to create format string for decimal data type which shows blank for zero and default format otherwize ? I tried format string "f;f;#" but this shows f for nonzero numbers. Andrus. ...
3
by: =?Utf-8?B?THVpZ2k=?= | last post by:
Hi all, with this code: decimal? test = 1200345.56m; decimal? test2 = Decimal.Parse(String.Format("{0:0,0.000}", test)); i can not obtain a decimal value with thousands separators (but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.