+ 1
Float rotating
I need the function that can specify the numbers after (.) in floats.. I mean rotating
2 Respuestas
+ 3
The period in cyclic fractions/decimal sequences?
__
e. g 3.641 = 3.64141...
https://www.geeksforgeeks.org/find-recurring-sequence-fraction/
(code is down the page)
They also recommend using the decimal module because of FPA.
https://stackoverflow.com/questions/1116990/is-there-any-way-to-get-the-repeating-decimal-section-of-a-fraction-in-JUMP_LINK__&&__python__&&__JUMP_LINK
+ 2
You mean you want to swap the integer part with the fraction part? or is it something else? I don't get what you mean by rotate here ...