Decimal.Parse loose dot
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Hi all,
in my WinForm application (C# 2.0) that loads some txt file, when I use
Decimal.Parse on string like
"123.45"
it returns me 12345m
But I also have tests that test this feature, and works fine.
How this strange behaviour?
Thanks a lot
--
Luigi
http://blogs.dotnethell.it/ciupaz/
.
- Prev by Date:
Best Prometric and Pearson VUE Test center in Bangalore ( For the certification of Microsoft, Sun, CISCO, Exin - ITIL, IBM, HP, Citrix, etc.)
- Next by Date:
Re: camelCase
- Previous by thread:
Best Prometric and Pearson VUE Test center in Bangalore ( For the certification of Microsoft, Sun, CISCO, Exin - ITIL, IBM, HP, Citrix, etc.)
- Next by thread:
Re: Decimal.Parse loose dot
- Index(es):
Relevant Pages
- Re: Connection to Borlands Interbase
... /// Summary description for WinForm. ... /// Required method for Designer support - do not modify /// the contents of this method with the code editor. ... string Password = "masterkey"; ... (microsoft.public.vsnet.ide) - Re: XML whackyness
... oDOM.Load loads the file directly, whereas oDOM.LoadXML loads a string. ... It is essential you don't try and read the XML file manually and then pass ... magic bytes and know to treat the xml data as being in the utf-8 character ... (microsoft.public.vb.general.discussion) - Re: What if structure is faster? or not?>
... You can see that the first type branches ... branches out of the statement or loads the ... string, assigns it, and continues execution. ... .method public hidebysig static void Maincil managed ... (microsoft.public.dotnet.framework.aspnet) - Re: What if structure is faster? or not?>
... > From looking at the intermediate language for a similar example there is ... You can see that the first type ... > branches out of the statement or loads the ... > string, assigns it, and continues execution. ... (microsoft.public.dotnet.framework.aspnet) - Re: Find string in Data
... Do I have the parts in brackets after the sub name? ... Sorry for this but thanks loads for your help so far. ... Sub GetAssignments(Cell As Range, Phrase As String) ... we did have a problem cancelling in the system (see my note ... (microsoft.public.excel.programming) |
|