Format String
-
Hi, I have one value 10000000 and i want to display like Rs.1,00,00,000
kiran banker
-
Hi, I have one value 10000000 and i want to display like Rs.1,00,00,000
kiran banker
-
Hi, I have one value 10000000 and i want to display like Rs.1,00,00,000
kiran banker
if you want to display in text box you can use Masktext box and user your custom format of string :)
Best Regards ----------------- Abhijit Jana View My CodeProject Articles "Success is Journey it's not a destination"
-
Hi, I have one value 10000000 and i want to display like Rs.1,00,00,000
kiran banker
just look at it long tr=1000000; TextBox1.Text = tr.ToString("##,###");
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
it's Coming with "$" sign
Best Regards ----------------- Abhijit Jana View My CodeProject Articles "Success is Journey it's not a destination"
-
Hi, I have one value 10000000 and i want to display like Rs.1,00,00,000
kiran banker
Function IndiaRupees(ByVal rs As String) Dim str As String = "" str = Right(rs, 3) rs = Left(rs, IIf(rs.Length > 3, rs.Length - 3, 0)) While rs <> "" str = Right(rs, 2) & "," & str rs = Left(rs, IIf(rs.Length > 2, rs.Length - 2, 0)) End While IndiaRupees = "Rs. " & str End Function Prakash Samariya