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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -