Jan-08-2020, 09:17 PM
You need to move
, '.15g'
inside the call to the format function. As it is now, it's a parameter to setText, when I think you want it as a parameter to format. That is, format(math.pi, '.15g')
and the same on line 5.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures