问题重现 笔者在有一次需要提取一个浮点数的每一位时,出现下面情况: a = 56.76 bit_1 = int(a/10) a = a % 10 bit_2 = int(a/1) a = a % 1 bit_3 =