changing doc format and HTML literals
This commit is contained in:
@@ -5,10 +5,12 @@ f64 float_val(String s)
|
||||
s : string to be converted
|
||||
return value : a f64 containing the number (0 if no number could be identified).
|
||||
|
||||
:desc
|
||||
Extracts a floating point number from a String.
|
||||
:content
|
||||
Extracts a floating point number from a `String`.
|
||||
|
||||
If no usable number can be identified, the result is `0`.
|
||||
|
||||
:related
|
||||
**PHP:** `floatval()`
|
||||
**JavaScript / Node.js:** `Number()` or `parseFloat()`
|
||||
## Related Concepts
|
||||
|
||||
- PHP: `floatval()`
|
||||
- JavaScript / Node.js: `Number()` or `parseFloat()`
|
||||
|
||||
Reference in New Issue
Block a user