hello,
I am getting my decimal value output as $
But I want to display it as $
I tried doing it as string format (), but I'm getting it in the round off as $5, but I want my output as $
Thanks in advance
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
Guest UserRank #2,192 · 643 reputationPosted Jan 15, 2021, 9:15 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Jan 15, 2021, 8:25 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Jan 15, 2021, 8:34 AM EST
Guest UserRank #2,192 · 643 reputationPosted Jan 15, 2021, 8:37 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Jan 15, 2021, 9:06 AM EST