c# - Parse a Number from Exponential Notation -


i need parse string "1.2345e-02" (a number expressed in exponential notation) decimal data type, decimal.parse("1.2345e-02") throws error

it floating point number, have tell that:

decimal d = decimal.parse("1.2345e-02", system.globalization.numberstyles.float); 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -