Hello! I have this problem, I am passing a string ("4.6") and trying to convert it to a float using TryParse, but it adds a 0 to the value

Hello! I have this problem, I am passing a string ("4.6") and trying to convert it to a float using TryParse, but it adds a 0 to the value

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
Uday DodiyaRank #239 · 10.3K reputationPosted Sep 8, 2022, 1:36 AM EDT
Uday DodiyaRank #239 · 10.3K reputationPosted Sep 8, 2022, 1:37 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 8, 2022, 2:16 AM EDT