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);
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 45

  • @BroCodez
    @BroCodez  2 ปีที่แล้ว +12

    // 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);

  • @colinmarshall6634
    @colinmarshall6634 ปีที่แล้ว +24

    I've taken multiple HS and college math classes without knowing what absolute value actually meant. You explained it in 1 sentence.

    • @chequenorris1457
      @chequenorris1457 11 หลายเดือนก่อน +1

      is this a troll comment?

    • @colinmarshall6634
      @colinmarshall6634 11 หลายเดือนก่อน +2

      @@chequenorris1457 i wish. I know how to do the math, but was never taught the concept behind it.

  • @zouhairaldalil2856
    @zouhairaldalil2856 ปีที่แล้ว +4

    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!

  • @neko9x19mm8
    @neko9x19mm8 ปีที่แล้ว

    bro this channel alone helped me a lot, thank you for making these helpful, short, and informative videos for us.

  • @entertainment12321
    @entertainment12321 ปีที่แล้ว

    So brief and helpful 👏
    Thank you

  • @o.ifeoluwa7176
    @o.ifeoluwa7176 ปีที่แล้ว

    Thank you. This was really helpful

  • @helloworld9531
    @helloworld9531 ปีที่แล้ว +1

    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

  • @shathahussain8949
    @shathahussain8949 ปีที่แล้ว

    omg it’s easy more than i expected, thanks pro

  • @AmaniTinbite
    @AmaniTinbite 8 วันที่ผ่านมา

    Love this video!! ❤❤

  • @hoatranminh5216
    @hoatranminh5216 ปีที่แล้ว

    Great lecture my friend! Thank you so much

  • @biswajitmahato5259
    @biswajitmahato5259 หลายเดือนก่อน

    thanks its help me a lot

  • @SandeepSingh-ed8qe
    @SandeepSingh-ed8qe ปีที่แล้ว

    loved it
    keep going

  • @lirimbytyqi1
    @lirimbytyqi1 ปีที่แล้ว

    Love it 🎉!!

  • @rathananhoeun6675
    @rathananhoeun6675 ปีที่แล้ว

    Love your teaching bro

  • @zunaeedemran
    @zunaeedemran ปีที่แล้ว

    Yeah thanks for all the resources

  • @MrLoser-ks2xn
    @MrLoser-ks2xn ปีที่แล้ว

    Thanks!

  • @TheEvertonDias
    @TheEvertonDias ปีที่แล้ว

    Thanks, Bro!

  • @arvidenglund9155
    @arvidenglund9155 2 ปีที่แล้ว +3

    could you do a unity course! Love your channel

  • @anthonypon
    @anthonypon 7 หลายเดือนก่อน

    Thx u bro

  • @arash.stream9679
    @arash.stream9679 11 หลายเดือนก่อน

    very good

  • @ttanh1255
    @ttanh1255 2 ปีที่แล้ว

    and i was just learning basic javascript too!

  • @arash.stream9679
    @arash.stream9679 11 หลายเดือนก่อน

    عالی

  • @AmberShah786
    @AmberShah786 2 ปีที่แล้ว

    bro very good

  • @saltysugar2081
    @saltysugar2081 2 ปีที่แล้ว

    if u do a unity course ,oh god that would be soo cool

  • @sarras5719
    @sarras5719 ปีที่แล้ว

    What about Math.log?

  • @Kmsyt
    @Kmsyt 2 ปีที่แล้ว

    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!!

    • @wasupman777
      @wasupman777 7 หลายเดือนก่อน

      you have now became a fellow Bro!

  • @sportsknowledge92
    @sportsknowledge92 5 หลายเดือนก่อน

    Please make small small logical project

  • @lucabinder9829
    @lucabinder9829 2 ปีที่แล้ว

    For the algorithm!

  • @doodle_mo_ka4336
    @doodle_mo_ka4336 ปีที่แล้ว

    although notes actually takes my 10min , but thank u bro

  • @offlinehub
    @offlinehub 3 หลายเดือนก่อน

    real bro

  • @kartikchauhan2778
    @kartikchauhan2778 ปีที่แล้ว

    Nooce

  • @kartikchauhan2778
    @kartikchauhan2778 ปีที่แล้ว

    Noice

  • @GalickGuner222
    @GalickGuner222 2 ปีที่แล้ว

    almost the same as in python

  • @murtezagorur3130
    @murtezagorur3130 ปีที่แล้ว

    // comment below

  • @lmao588r
    @lmao588r ปีที่แล้ว

    Algorithm

  • @iamtheboneofmysword728
    @iamtheboneofmysword728 ปีที่แล้ว

    why is every number pi lmao

  • @leoriomd5476
    @leoriomd5476 10 หลายเดือนก่อน

    leaving random comment down below

  • @TheRealOfficialBirdy
    @TheRealOfficialBirdy 2 ปีที่แล้ว +1

    When the math is sus.. Math."sqrt"(). Anyways love the video I live rewatching these vids and love ur channel.

  • @hammad2536
    @hammad2536 10 หลายเดือนก่อน

    Damn bro you're taking too much short time to explain with manifestation I'm gonna learn the web development from here

  • @MohyDev
    @MohyDev 2 ปีที่แล้ว

    // For the TH-cam algorithm!

  • @Taecy7454
    @Taecy7454 หลายเดือนก่อน

    Random Comment

  • @fadeharumaiza6662
    @fadeharumaiza6662 ปีที่แล้ว

    this is a random comment