Math Object In JavaScript | JavaScript Tutorial In Hindi #23

preview_player
Показать описание
This video is a part of my JavaScript In Hindi Course. JavaScript is a high-level, interpreted programming language that conforms to the ECMAScript specification. JavaScript has dynamic typing, prototype-based object-orientation, and first-class functions.

Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

Congratulations for 61k. Per day 500 subs. Nice. Happy for you bhai ❤️

shivambhardwaj
Автор

//For Future Reference
z = Math;
z = Math.PI;
z = Math.E;
z = Math.round(5.4);
z = Math.ceil(5.3);
z = Math.floor(-5.3);
z = Math.abs(5);
z = Math.sqrt(64);
z = Math.pow(2, 3);
z = Math.min(2, 3, 34);
z = Math.max(2, 3, 34);
z = Math.random();
console.log(z);

gabbarsingh
Автор

I admire your teaching style Sachi mein boht unique hai..

RohanDasRD
Автор

Hope it will help someone
You can also suggest me thanks!

let randomNumber = Math.floor(Math.random() * 50 + 1);
document.write(randomNumber);

MohammedSalman-qvcg
Автор

a=10
Formula for 10 to 100 random numbers:
10 + a*(100-10)
= 10 + 100a - 10a
= 10 + 100(0, 1) - 10(0, 1)
= 10 + (0, 100) - (0, 10)
= 10 + (0, 90)
= (10, 100)
Hence proved...😁

ashishgupta
Автор

I m function up student nd its better than Anything 🤘

rahulsinghparihar
Автор

This is really amazing thing and mind blowing!

amjadhussain
Автор

simple formula is
LET VARIABLE= STRAT_VALUE +(END_VALUE - START_VALUE)*MATH.RANDOM()

itishkumarpati
Автор

// lets say I want a number btw 10 to 100 lowerLimiit = 10 and upperLimit = 100
// lowerLimit + random(upperLimit - lowerLimit)
// ex: 10 + (100 - 10) * Math.random();

harshitverma
Автор

Congratulations Harry bahi, for 2 million

adhyatmjain
Автор

fantastic very well explained math function ...

sushilprajapati
Автор

Sir agar issi m ham button use kre when someone click on it then start timer randomly if timer 0 then do some task so isse kese kre pls bta do

arbatheindiangamer
Автор

z= Math.round(100 * Math.random());
console.log(z);
let elm =
elm.innerHTML = `<h2 id="ltry">The Lottery Number is <span </h2>`
z=Math.max(73, 45, 76, 8, 4, 3, 5)
console.log(z);

charaiveti_charaiveti
Автор

bhai ji aapke vs code ka color theme konsa hai ?

mdarora
Автор

harry vai, humlog college me pouchke e tutorial dekh rahe he, thora math ap bata sakte ho🥰🥰 line 16 box function🤩🤩

factzandcode
Автор

node.js ka tutorial chahiye Harry
please as soon as possible
and thank you for this lovely

sumansaha
Автор

harry bhai kya ye series python ki series jysi hogi. i mean 100+ video and projects

rockybhai-cnqw
Автор

Sir please unity 3d ke video banaye jese Movement. fight other

rameshpandit
Автор

14:28
Why cant we directly write 50 there??☹️🤔🤔🤔🤔

kapil
Автор

Formula For Generating Random Numbers
formula_random = starting_range + (end_range - starting_range) * Math.random();

Example
let starting_range = 10;
let end_range =20;
let formula_random = starting_range + (end_range - starting_range) * Math.random();
console.log(formula_random);

khanomar