for example, I have value coming from the database 22.3400000
I want to show it as 22.3
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
Dileep Kumar58 reputationPosted May 2, 2018, 11:37 PM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted May 3, 2018, 9:42 PM EDT
Rafnas T PRank #280 · 8.8K reputationPosted May 4, 2018, 2:53 AM EDT
Shrimant TelgaveRank #623 · 3.8K reputationPosted May 4, 2018, 3:28 AM EDT
I have crated one small demo to complete your task
There are multiple way to ahieve to complete this task. but As per my prespective you can use "Math.Round()" function.
I hope this will help you to ahieve your functionality. Thanks
Manas TripathiRank #7,584 · 238 reputationPosted May 2, 2018, 1:03 PM EDT
siddhartha sharna126 reputationPosted May 7, 2018, 4:17 AM EDT