#elisp
Function:
float numberThis returns number converted to floating point.
If number is already floating point, float
returns
it unchanged.
If you want to change selection, open document below and click on "Move attachment"
GNU Emacs Lisp Reference Manual: Numeric Conversionseference Manual: Numeric Conversions
Next: Arithmetic Operations, Previous: Comparison of Numbers, Up: Numbers [Contents][Index]
3.5 Numeric Conversions
To convert an integer to floating point, use the function float .
<span>Function: float number This returns number converted to floating point.
If number is already floating point, float returns
it unchanged.
There are four functions to convert floating-point numbers to
integers; they differ in how they round. All accept an argument
number and an optional argument divisor . Both argument Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details