Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Convert a String to a DoubleConverting 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
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.