Einhugur macOS Bridge plugin. |

# NSUserDefaults.DoubleForKey Method

Gets or sets Double value for given key.

DoubleForKey(
key as String) as Double
DoubleForKey(
key as String
assigns value as Double)

#### Parameters

key
  Gets or sets Double value for given key.
value (assignment parameter)
  The value to set.

#### Returns

Double
  Returns the value for the requested key or 0.0 if key was not found or if the key did not contain Double value.

#### Remarks

#### See Also

NSUserDefaults Class