DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
gdscript fixed decimal
var my_number = 0.123456 print("%.3f" % my_number) # 0.123
PREVIOUS
NEXT
Tagged:
#gdscript
#fixed
#decimal
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit