Output with the same number of digits of pi as the length of the code
Mathematica, 18 bytes
using zeta function
Sqrt[6Zeta@2]~N~18
Try it online!
Jelly, 9 bytes
“Œı⁸Ç’÷ȷ8
Try it online!
Outputs 3.14159265
How it Works
“Œı⁸Ç’ - The integer 314159265
÷ - divide
ȷ8 - The integer 100000000
VBA (Excel), 15 bytes
MsgBox 4*Atn(1)
Output: 3.14159265358979
I think this is not acceptable as I golfed it just to fit the length of the PI. The un-golfed length of it is 17 bytes. D: