I have a float value like this : 0.60000002384185791 I want to convert this value to string like this : 0.60000002384185791 (Exactly same - No scientific notations or clipping off precision)
But whenever I try to convert this value to string, it gives me "0.600000023841858"
Code:
Dim ddd As Decimal = 0.60000002384185791 '//This value is coming from some method and it may be different like 0.6000000238418579123456789012 or 102020.6000000238418579123456789012
Dim myVal as string = " Your Value is : " & ddd.ToString() '//This truncates actual value to 0.600000023841858
Is there any way to convert that value "as it is" (Without scientific notations and without clipping off precision)?
It is working good upto some limit in C#, but I need solution in Visual Basic. Is there anything to do with language (I hope not).