Returns the numeric value of the argument.
The number interpretation pattern depends on the server locale (see the following sample).
CDbl( "2,5" ) returns on English server: 25 returns on German server: 2.5
CDbl( X )
X | either a number, a string, or a currency, each of which will be converted to a number. |
---|
Numeric value.
CDbl(1234) // 1234.0 CDbl("1234.124") // 1234.124 CDbl("$24.99") // 24.99