PC Review


Reply
Thread Tools Rate Thread

Decimal.parse return not return .T. or .F. ??

 
 
Agnes
Guest
Posts: n/a
 
      14th May 2004
What value will be return Decimal.parse(Me.txtTest.text) ????

It seems doesn't return False or True, so. what will be returned ?

Thanks


 
Reply With Quote
 
 
 
 
=?Utf-8?B?QW5hbmRbTVZQfQ==?=
Guest
Posts: n/a
 
      14th May 2004
It returns the decimal if it is sucessful in parsing the string..

Rgds,
Anand M
VB.NET MVP
http://www.dotnetindia.com

"Agnes" wrote:

> What value will be return Decimal.parse(Me.txtTest.text) ????
>
> It seems doesn't return False or True, so. what will be returned ?
>
> Thanks
>
>
>

 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      14th May 2004
"Agnes" <(E-Mail Removed)> schrieb
> What value will be return Decimal.parse(Me.txtTest.text) ????
>
> It seems doesn't return False or True, so. what will be returned ?


Put the cursor on >Parse< and press F1. You'll get context sensitive help.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      14th May 2004
* "Agnes" <(E-Mail Removed)> scripsit:
> What value will be return Decimal.parse(Me.txtTest.text) ????
>
> It seems doesn't return False or True, so. what will be returned ?


It will return a decimal. Maybe you are looking for 'Double.TryParse'?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
parse return string into table, separate records Gary Dolliver Microsoft Access Form Coding 0 16th Oct 2009 07:34 PM
Parse a return string Gary Dolliver Microsoft Access VBA Modules 2 13th Feb 2009 12:18 AM
Decimal Alias values return as zero? Jay Microsoft Access ADP SQL Server 5 27th Nov 2007 01:42 PM
Return a decimal value Guoqi Zheng Microsoft ASP .NET 2 29th Jun 2004 04:48 PM
ExecuteScalar return decimal instead of int? RA Microsoft ADO .NET 4 5th Mar 2004 08:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:30 PM.