Dynamicweb 8 Documentation
FormatDouble(Object,Boolean) Method

The input to format.
if true the current culture of the frontend pageview or the backend user is used for parsing.
Formats the input to a valid double. If the specified input is not a valid double, then 0 is returned.
Syntax
'Declaration
 
Public Overloads Shared Function FormatDouble( _ 
   ByVal input As Object, _ 
   ByVal useContextCulture As Boolean _ 
) As Double
public static double FormatDouble( 
   object input,
   bool useContextCulture 
)

Parameters

input
The input to format.
useContextCulture
if true the current culture of the frontend pageview or the backend user is used for parsing.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Input Class
Input Members
Overload List

Send Feedback