Table of contents
TOC
Collapse the table of content
Expand the table of content

SafeConvertExtensions.ToDouble Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Converts the input string to a double and if null, it returns the default value.

Namespace:System
Assembly: OfficeDevPnP.Core.dll

Syntax

public static double ToDouble(this String input, Double defaultValue)

Parameters

input

  Type: System.String
  Input string.

defaultValue

  Type: System.Double
  A default value to return for a null input value.

Return Value

Type: double

See also

© 2018 Microsoft