Hello,
I am having a real issue with this. It is not a function as I expected it to be. I have searched the forums and only seem to have found what is in effect a concatenate function, ie the StringBuilder.ToString (where the StringBuilder is given a variable name, normally Sb)
So here I have two doubles east and north, holding eastings and northings as Doubles. I need to convert them to strings to be used to find OS Grid Ref Grid Letters for the UK.
I have tried:
Sb.Initialize ' sets up a StringBuilder called Sb, this is Dimmed earlier
Sb.Append(east) 'Add the contents of east to it, currently a double
eing = Sb.ToString 'try and assign the convertered string to a string variable called eing
Sb2.Initialize 'repeated the whole thing for northings
Sb2.Append(north)
ning = Sb2.ToString
Have spent along time with this. Really could do with some help.
Thanks
Other that that really excited about programming with this in a way I havnt been for years.
Thank you.
P Cowling
I am having a real issue with this. It is not a function as I expected it to be. I have searched the forums and only seem to have found what is in effect a concatenate function, ie the StringBuilder.ToString (where the StringBuilder is given a variable name, normally Sb)
So here I have two doubles east and north, holding eastings and northings as Doubles. I need to convert them to strings to be used to find OS Grid Ref Grid Letters for the UK.
I have tried:
Sb.Initialize ' sets up a StringBuilder called Sb, this is Dimmed earlier
Sb.Append(east) 'Add the contents of east to it, currently a double
eing = Sb.ToString 'try and assign the convertered string to a string variable called eing
Sb2.Initialize 'repeated the whole thing for northings
Sb2.Append(north)
ning = Sb2.ToString
Have spent along time with this. Really could do with some help.
Thanks
Other that that really excited about programming with this in a way I havnt been for years.
Thank you.
P Cowling