Read the double value from lynx_value.
| Key | Description |
|---|---|
| [in] env | The environment in which lynx value runs, typically nullptr. |
| [in] value | lynx_value representing number. |
| [out] result | The double value. |
Returns lynx_api_ok if the API succeeded. Returns lynx_api_double_expected if the types do not match.