Hi.
print(string.format("pi = %.4f", PI)) --> pi = 3.1416 If think global "PI" is from Lua 4 and current one is "math.pi". Best regards floru