Open
Description
[ Re: commit f1d7bda ]
I cannot seem to find a way to round a float to an int (or to a float with a given number of decimals), the way Python's round()
does (and I ran into #47 when I tried to write a simple method that would round to an int).
I can see "round"
referenced in the syn_py_types
array in rline.c
(line 910), but that seems to be related to Python, and not to Kuroko.
Am I missing something obvious?
If there is currently no way to round(number, ndigits=None)
in Kuroko, please let this issue serve as an enhancement request.
🙏
Metadata
Metadata
Assignees
Labels
No labels