double value;
if (!Double.TryParse(tbadvance.Text, out value))
{
tbadvance.Text = 0.ToString();
}


Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted Feb 11, 2021, 3:23 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Feb 11, 2021, 4:55 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 11, 2021, 3:09 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Feb 11, 2021, 4:21 AM EST