I have a litte problem and I have a workaround, but I am wondering howto solve this with Globalisation? I suppose?
Sub Main() Dim sngExampleA As Single = 1234.5678 Dim sngExampleB As Single = 1234.5678 Debug.Print(sngExampleA.ToString) 'result 1234.56775 ' Debug.Print(sngExampleB.ToString("N2")) 'result 1,234.57 ' End Sub
I want the 2 decimals but I do not want the comma in the result so 1234.57
But how program this in VB?
Thank you Ellen