+ 1

Float rotating

I need the function that can specify the numbers after (.) in floats.. I mean rotating

4th Jul 2022, 9:10 AM
Moha Riad
Moha Riad - avatar
2 ответов
+ 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
7th Aug 2022, 12:59 AM
Korkunç el Gato
Korkunç el Gato - avatar
+ 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 ...
4th Jul 2022, 9:52 AM
Ipang