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
Post a Comment