Math methods in JavaScript 🔢【3 minutes】
ฝัง
- เผยแพร่เมื่อ 19 เม.ย. 2022
- #Javascript #math #functions #constants
// Math = an intrinsic object that provides basic mathematics functionality and constants
let x = 3.14;
let y = 5;
let z = 9;
let maximum;
let minimum;
//x = Math.round(x);
//x = Math.floor(x);
//x = Math.ceil(x);
//x = Math.pow(x, 2);
//x = Math.sqrt(x);
//x = Math.abs(x);
//maximum = Math.max(x, y, z);
//minimum = Math.min(x, y, z);
//x = Math.PI;
console.log(x); - วิทยาศาสตร์และเทคโนโลยี
// Math = an intrinsic object that provides basic mathematics functionality and constants
let x = 3.14;
let y = 5;
let z = 9;
let maximum;
let minimum;
//x = Math.round(x);
//x = Math.floor(x);
//x = Math.ceil(x);
//x = Math.pow(x, 2);
//x = Math.sqrt(x);
//x = Math.abs(x);
//maximum = Math.max(x, y, z);
//minimum = Math.min(x, y, z);
//x = Math.PI;
console.log(x);
I've taken multiple HS and college math classes without knowing what absolute value actually meant. You explained it in 1 sentence.
is this a troll comment?
@@chequenorris1457 i wish. I know how to do the math, but was never taught the concept behind it.
You made this look so simple and easy to understand in 3 min than the whole week worth of math methods i took at the coding bootcamp. thank you brother!
bro this channel alone helped me a lot, thank you for making these helpful, short, and informative videos for us.
So brief and helpful 👏
Thank you
Thank you. This was really helpful
I searched about the whole TH-cam but I was not able to fetch information about math methods. Thank you for such a food explaination
omg it’s easy more than i expected, thanks pro
Love this video!! ❤❤
Great lecture my friend! Thank you so much
thanks its help me a lot
loved it
keep going
Love it 🎉!!
Love your teaching bro
Yeah thanks for all the resources
Thanks!
Thanks, Bro!
could you do a unity course! Love your channel
Thx u bro
very good
and i was just learning basic javascript too!
عالی
bro very good
if u do a unity course ,oh god that would be soo cool
What about Math.log?
Bro your the frickin best! My friends made fun of me because I'm too little to understand Javascript. But thanks to you, I proved them wrong!! >:) also first!!
you have now became a fellow Bro!
Please make small small logical project
For the algorithm!
although notes actually takes my 10min , but thank u bro
real bro
Nooce
Noice
almost the same as in python
// comment below
Algorithm
why is every number pi lmao
leaving random comment down below
When the math is sus.. Math."sqrt"(). Anyways love the video I live rewatching these vids and love ur channel.
Damn bro you're taking too much short time to explain with manifestation I'm gonna learn the web development from here
// For the TH-cam algorithm!
Random Comment
this is a random comment