DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python converting float to binary
import
bitstring f1
=
bitstring
.
BitArray
(
float
=
1.0
,
length
=
32
)
print
(
f1
.
bin
)
PREVIOUS
NEXT
Tagged:
#python
#converting
#float
#binary
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit