Facebook – https://www.facebook.com/TheNewBoston-464114846956315/

GitHub – https://github.com/buckyroberts

Google+ – https://plus.google.com/+BuckyRoberts

LinkedIn – https://www.linkedin.com/in/buckyroberts

reddit – https://www.reddit.com/r/thenewboston/

Support – https://www.patreon.com/thenewboston

thenewboston – https://thenewboston.com/

Twitter – https://twitter.com/bucky_roberts

Original source

## Javascript Tutorial – 22 – Basic Math Objects

**24 Comments**

**Leave A Comment**

You must be logged in to post a comment.

## AKADO

Thanks a lot for very nice Video and explanation. It was very useful.

## Lordsdaughter7

this is a green screen, it shows nothing about math and finding percentages.

## AkimboRoots

forgot your semicolon?

## joe Hubbard

View my channel to find a link to my web development blog! I made it to get my ideas out and shows you how to do it. give it a look and make one and blog with me! we can start a little community of bloggers and share ideas! see you soon!

## King of Dongles

var i=0

while(i<=1000){document.write(Math.round(Math.random()));i++}

## TheOriginalVZdemon

deal

## SUDHANWA DEO

whole numbers can be negative!!!!

## SUDHANWA DEO

wholw numbers can be negative!!!!

## fuckgoogle

buddy! im dissapointed, i found the rounding one, finally. but im tryina do this with a variable. N it doesnt work like that for some reason with variables. please make a new vid? sfe

## Shivansh Dhar

where can you find all the built in strings

## Nithin kumar

looks lik there are newer videos too.. shall i follow this one or skip and jump to that one, MASTER!

## Konu Irie

random is my favorite function .. it can be useful in many things!!

## prakash singh

@jamesmattking1 so true…even i was wondering about this thing..notepad++ has taken stakes over javascripts ..i guess:P

## Stardust342

I would subscribe, but your freakin porny!

## Evan Palley

much

## Philip Davis

is it better than komodo?

## QuantumAnomaly

What if you want the randomly generated number to be an integer? Do you have to generate a random fraction and then round it? Or is there a simpler way?

Also, how can you specify that you want it to be a certain length or certain number of decimal places?

## edison700

is it possable to pick a random number between numbers EX) pick a number between 1 and 10

## thenewboston

im working on all of my websites right now to redesign them all. they should be up in a couple weeks.

## TheKrazyFool

ur site is down

## Enes Unal

thank you so much dude

## thenewboston

notepad++

just go to google and type it in and you can download it there. its free and its the best editor that's out there!

## Enes Unal

what program are you usin?

## thenewboston

there sure is you have to add the boundaries in the parameters, ill show you in the next tutorial!