# 轉換Excel數值資料時可能遇到指數標記法 抓取Excel的數值,可能會取得以指數標記法的內容, 指數標記法是以(E+n)表示位數的部分, 如 1.3761 = 13761E-4。 在TryParse或Parse需要特別設定其參數,如以下範例 ``` C# decimal floatNumber; /* val為excel取得到值 */ decimal.TryParse( val, System.Globalization.NumberStyles.Any, null, out floatNumber); ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up