mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 17:10:24 +08:00
14 lines
224 B
Python
14 lines
224 B
Python
|
print("%s" % 1.0)
|
||
|
print("%r" % 1.0)
|
||
|
|
||
|
print("%d" % 1.0)
|
||
|
print("%i" % 1.0)
|
||
|
print("%u" % 1.0)
|
||
|
|
||
|
print("%e" % 1.23456)
|
||
|
print("%E" % 1.23456)
|
||
|
print("%f" % 1.23456)
|
||
|
print("%F" % 1.23456)
|
||
|
print("%g" % 1.23456)
|
||
|
print("%G" % 1.23456)
|