I was searching a way to calculate the binomial probability by code, and I found these two calculators online by they return different results.
Which is the correct one and why?
Example params: p=0.5 n=18 k=14
https://stattrek.com/online-calculator/binomial.aspx
http://www.ciphersbyritter.com/JAVASCRP/BINOMPOI.HTM#Binomial

With the given data of $(18,.5,14)$ the correct answer for $pdf$ is $$0.011672974$$ And for $cdf$ is $$ 0.996231079$$