JavaScript Lingo: Math

preview_player
Показать описание
JavaScript's Math object overview, as well as a brief heads-up on floating-point formula.

There is a static object named 'Math' in JS with many built in properties and methods.

You'll want to investigate this further whenever you're manipulating numbers. Check here before writing your own functions, because they may already be defined here.

When you're working with numbers, you should also be aware that JS has an interesting attribute called "floating-point format". Depending on the amount of numbers, the size of those numbers, and the number of computations, JS may return something that is inaccurate by .00004. There are ways around this, and in general it doesn't pose issues, but it's something you should be aware of in the event you run into some problems that aren't making sense.
Рекомендации по теме
Комментарии
Автор

damn you teach me how to code errr day miss

KimpusMaximus