Hello,

Just want to ask about text parsing in vb.net.... I have a textfile and i
want to get the decimal number.. when i to get the 1.52 i can get the right
result but when the digit become 10.26 i only get the 0.26... is there a code
that will recognized if the place value changes? Or can i get a length of
text and a code will determine the numbers so that i will only get numbers
not the whole text??

Thanks

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-compact-framework/200803/1

RE: vb.net by srhartone

srhartone
Fri Mar 07 15:13:00 CST 2008

I don't really understand what you are trying to achieve. Parsing a text file
with floating point numbers? Can you show us some code?
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"shadow-king via DotNetMonster.com" wrote:

> Hello,
>
> Just want to ask about text parsing in vb.net.... I have a textfile and i
> want to get the decimal number.. when i to get the 1.52 i can get the right
> result but when the digit become 10.26 i only get the 0.26... is there a code
> that will recognized if the place value changes? Or can i get a length of
> text and a code will determine the numbers so that i will only get numbers
> not the whole text??
>
> Thanks
>
> --
> Message posted via DotNetMonster.com
> http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-compact-framework/200803/1
>
>
>

Re: vb.net by Dick

Dick
Sat Mar 08 12:42:33 CST 2008

Show us both the file format and your code.

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.