Number parsing with the .NET Micro Framework
The simple data types of the .NET Micro Framework DO NOT have a parse method to parse a number (integer or float) from a string. Eg. double f = double.Parse("123.45"); is not possible. So an own number parser class is needed. I have it!
I wrote it for my book, but will pre-release it now. It is based on the internal NumberParser class from the DotGNU Portable.NET project and I ported and simplified it to the .NET Micro Framework. It can parse integers, hex-numbers and floating point numbers and also handles exponents and thousands group separators. There is still room for optimizations. Please let me know if you did any optimizations. See attachement.
Watch out the book for more practical samples, tips and tricks.