C# Class ConsoleApplication11.Program

Show file Open project: shendongnian/code

Public Methods

Method Description
parseWithRegex ( string s ) : double

Parse a numeric literal into a double with a regular expression

Private Methods

Method Description
Main ( Array argv ) : int
parseWithBruteForce ( string s ) : double

Parse a numeric literal into a double the old-fashioned way

Method Details

parseWithRegex() public static method

Parse a numeric literal into a double with a regular expression
public static parseWithRegex ( string s ) : double
s string
return double