JSON.GetDoubleValue
-------------------

Queries a floating point value of the JSON node.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [JSON](component_JSON.md) | [2.7](newinversion27.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "JSON.GetDoubleValue"; JSON ) 

**MBS**( **"JSON.GetDoubleValue";** /\* Queries a floating point value of the JSON node. \*/  
**$JSON**) /\* A JSON text or reference.e.g. "3.4" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| JSON | A JSON text or reference. | "3.4" |

### Result

Returns the value.

### Description

Queries a floating point value of the JSON node.  
### Examples

Queries double value:

 MBS ( "JSON.GetDoubleValue"; "3.4 ")  
### See also

- [JSON.GetBooleanValue](JSONGetBooleanValue.md)
- [JSON.GetValue](JSONGetValue.md)

### Release notes

- **Version 13.4**
    - Changed [JSON.GetStringValue](https://www.mbsplugins.eu/JSONGetStringValue.shtml), [JSON.GetBooleanValue](https://www.mbsplugins.eu/JSONGetBooleanValue.shtml), [JSON.GetDoubleValue](https://www.mbsplugins.eu/JSONGetDoubleValue.shtml), [JSON.GetIntegerValue](https://www.mbsplugins.eu/JSONGetIntegerValue.shtml) and [JSON.GetValue](https://www.mbsplugins.eu/JSONGetValue.shtml) to return empty result if called with empty value.
- **Version 12.1**
    - Fixed an issue with [JSON.GetDoubleValue](https://www.mbsplugins.eu/JSONGetDoubleValue.shtml) and related functions not passing number back with comma (and used dot) where comma would be appropriated. Broken in 12.0.

### Blog Entries

- [MBS FileMaker Plugin, version 13.4pr1](https://www.mbsplugins.de/archive/2023-08-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.1pr5](https://www.mbsplugins.de/archive/2022-03-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 3th February 2016

  
[JSON.GetBooleanValue](JSONGetBooleanValue.md) - [JSON.GetIntegerValue](JSONGetIntegerValue.md)

[HTML Version](JSONGetDoubleValue.shtml)