Create a lynx_value of type double with given value.
| Key | Description |
|---|---|
| [in] env | The environment in which lynx value runs, typically nullptr. |
| [in] value | Double value to be represented in lynx_value. |
| [out] result | A lynx_value representing a double. |
Returns lynx_api_ok if the API succeeded.