This should be straightforward, but...
Asuming this code:
Dim aDouble As Double = 3.1415926535897932 ^ 5.5 Dim aVariant As Variant = aDouble Dim a As String = aDouble.ToText Dim b As String = aVariant.StringValue Dim c As String = CStr (aDouble) Dim d As String = Str (aDouble)
How to put the result in a string?
This is the double value of aDouble (as viewed in debuger and needed in the string)
If Xojo can put the value 542.405768750564107 in the debugger window, it should be a way to also get that same value in code isn't it?