Click here to Skip to main content
15,905,414 members

Comments by Member 8953399 (Top 6 by date)

Member 8953399 17-Sep-12 12:38pm View    
plz dont mind bcz the code am analysing this code and in that split is used.

Dim avgBVsplit(2) As String
avgBVsplit = SumPC.ToString().Split(".")
If avgBVsplit.Count = 2 Then
If avgBVsplit(1).Length > 2 Then
frmRMM.tslPC.Text = "PC(Sum) : " + avgBVsplit(0) + "." + avgBVsplit(1).Substring(0, 2)
Else
frmRMM.tslPC.Text = "PC(Sum) : " + SumPC.ToString()
End If
Else
frmRMM.tslPC.Text = "PC(Sum) : " + SumPC.ToString()
End If
Member 8953399 17-Sep-12 6:50am View    
this conversion of double to string can be done using tostring().but still why we require split().plz help
Member 8953399 17-Sep-12 6:42am View    
plz give the usage of split() here.
Member 8953399 17-Sep-12 0:51am View    
in my application values are stored in database by conversion of double value to string.if double can be directly changed into string using tostring() then why split() is used.i want the usage of split used here.
b = a.ToString().Split("."C)
Member 8953399 10-May-12 1:11am View    
mind k