2021-11-07 15:13:37 +03:00
|
|
|
# <small>nlohmann::json_sax::</small>number_float
|
2021-11-05 00:02:48 +03:00
|
|
|
|
|
|
|
|
```cpp
|
|
|
|
|
virtual bool number_float(number_float_t val, const string_t& s) = 0;
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
A floating-point number was read.
|
|
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
|
|
`val` (in)
|
|
|
|
|
: floating-point value
|
|
|
|
|
|
2021-11-05 16:48:28 +03:00
|
|
|
`s` (in)
|
|
|
|
|
: string representation of the original input
|
|
|
|
|
|
2021-11-05 00:02:48 +03:00
|
|
|
## Return value
|
|
|
|
|
|
|
|
|
|
Whether parsing should proceed.
|
|
|
|
|
|
|
|
|
|
## Version history
|
|
|
|
|
|
|
|
|
|
- Added in version 3.2.0.
|