Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Convert a String to a Double Converting a string to a double is simple:
Dim d1 As Double
Dim d2 As Double
' You can be explicit
d1 = CDbl("12.2")
' Or you can just do this...
d2 = "12.2"
Print d1 ' prints 12.2
Print d2 ' prints 12.2
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.