DoubleConversionFunctions.

Parse(string) Method

Summary

Converts the specified string representation of a number to its double-precision floating point number equivalent.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
DoubleConversionFunctions

Syntax

[Function("parse")]
public static double Parse(string s)

Remarks

The System.Globalization.NumberFormatInfo for the invariant culture is used to supply formatting information about s.

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
s string A string containing a number to convert.

Return Value

Type Description
double A double-precision floating point number equivalent to the numeric value or symbol specified in s.