| AkCommonParseDouble Method (String, Double) |
去除数值字符串的修饰并转换为Double值。
如果转换失败则返回默认值。
Namespace: Appkit.CommonAssembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static double ParseDouble(
string s,
double defaultValue
)
Parameters
- s
- Type: SystemString
字符串。 - defaultValue
- Type: SystemDouble
转换失败时的默认返回值。
Return Value
Type:
DoubleDouble值。
See Also