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# -

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -