I received a question from a Developer who asked me to help him in a case where he wanted to convert any number into a currency value.
So in this article, we will learn how to displace a number in its currency format. The "C" (or currency) is a format specifier, It is used to convert a number into a string representing a currency amount.
Please find the solution below:
If you have any questions or suggestions please comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.