자바스크립트 타갈로그어 - Math.PI

Disclaimer: This is a Blog i made with the initial intention of reinforcing my knowledge in JS. I just thought sharing my blogs might be helpful for someone since they are written in tagalog/taglish. Incase of Misinformation I won't be responsible for it and you can comment on the blog to address the mistake or email me. I'm always trying my best to be as accurate as possible. take a look at other resources just to be sure.
Javascript에 Math.PI가 있습니까?
Re-return niyalang yung value ng PI tapos pwede mona gamitin sa mga 계산 na need ang PI.

console.log( Math.PI ) 
// 3.141592653589793


MDN Documentation에서 둘레 계산

function calculateCircumference ( radius ) {
  return 2 * Math.PI * radius;
}

console.log( Math.PI );
// expected output: 3.141592653589793

console.log( calculateCircumference(20) );
// expected output: 125.66370614359172


baka 지나치게 단순화되고 부정확한 정보 nasulat ko 그래서 여기에 더 자세한 문서가 있습니다(영어).
MDN Documentation - Math.Pi

더 많은 타갈로그어 Javascript 학습 리소스:
https://javascript-in-tagalog.netlify.app

좋은 웹페이지 즐겨찾기