DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python print float in scientific notation
v
=
2.50435
-
e03
'%.2E'
%
v
# returns '2.50E-03'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#print
#float
#scientific
#notation
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit