Math Functions |JavaScript Course | Logic First Tamil
Intermediate-level Programming video in Tamil by Logic First Tamil, 4 minutes long, published 12 Jan 2023.
Javascript course with indepth explanations in tamil. Github CodeLink - https://github.com/LogicFirstTamil Notion link for code - https://balanced-quince-db1.notion.site/JavaScript-Course-Notes-by-Logic-First-66acc06b54ee4327baab785acc0319ce //try in console //rounding Math.round(5.8) //result 6 Math.round(5.1) //result 5 //floor gives prev number Math.round(5.8) //result 5 //ceil gives next number Math.ceil(5.8) //result 6 Math.ceil(5.1) //result 6 //returns square root of the number Math.sqrt(55) //result 7.416.... //absolute value returns positive value of the number Math.abs(-9) //result 9 //power - Math.pow(base,exponent) Math.pow(8,5) 32768 //min value from a set of values Math.min(8,5,7,8) //result 5 //random - returns a value between 0 and 1 Math.random() //dice roll - random number between 1 and 6 Math.floor(Math.random()*6)) + 1 //random number between 1 and 100 Math.floor(Math.random()*100)) + 1 //constants Math.PI Math.E ---------------------------------------------------------------------------------------------------------------- courses and playlists Javascript Playlist: https://www.youtube.com/playlist?list=PLYM2_EX_xVvWA3nMtsoLclwDtVS_rLk6O HTML and CSS: https://www.youtube.com/playlist?list=PLYM2_EX_xVvXZ2A08faQ_7Iz4unlGs176 SQL: https://www.youtube.com/playlist?list=PLYM2_EX_xVvUBh28ZT2i-jH7kBkTfB_W2 DS and ALGO in C/CPP: https://www.youtube.com/watch?v=QQBVNwA9rDI&list=PLYM2_EX_xVvVMXkQt4qqosJTplBq5v5oX DS and ALGO in Java: https://www.youtube.com/watch?v=t2U989oaI1Q&list=PLYM2_EX_xVvX7_AmNY-Deacp3rT3MIXnE Python Full Course with game: https://www.youtube.com/watch?v=BiDOehqG68g Java Playlist: https://www.youtube.com/playlist?list=PLYM2_EX_xVvVXm005Gt5unmqW6GGMjHxa Java one video: https://www.youtube.com/watch?v=qOWPCPCDRZs&t=2751s C Interview program playlist: https://www.youtube.com/playlist?list=PLYM2_EX_xVvV4Kypzs6haPDJrXBaYFVEd C programming in one video: https://www.youtube.com/watch?v=JAy56OH58Y4&t=17269s C programming playlist: https://www.youtube.com/watch?v=xKGg8UfR0mM&list=PLYM2_EX_xVvU7N5Lcp1SjKnGN5e6riUoj C++ Playlist link: https://www.youtube.com/playlist?list=PLYM2_EX_xVvUppW1kS91ZNEI20k1V1liI English channel link: https://www.youtube.com/channel/UCFhHB5_2UkzB4V5iL1oaI-Q/featured…more
Javascript course with indepth explanations in tamil. Github CodeLink - https://github.com/LogicFirstTamil Notion link for code - https://balanced-quince-db1.notion.site/JavaScript-Course-Notes-by-Logic-First-66acc06b54ee4327baab785acc0319ce //try in console //rounding Math.round(5.8) //result 6 Math.round(5.1) //result 5 //floor gives prev number Math.round(5.8) //result 5 //ceil gives next number Math.ceil(5.8) //result 6 Math.ceil(5.1) //result 6 //returns square root of the number Math.sqrt(55) //result 7.416.... //absolute value returns positive value of the number Math.abs(-9) //result 9 //power - Math.pow(base,exponent) Math.pow(8,5) 32768 //min value from a set of values Math.min(8,5,7,8) //result 5 //random - returns a value between 0 and 1 Math.random() //dice roll - random number between 1 and 6 Math.floor(Math.random()*6)) + 1 //random number between 1 and 100 Math.floor(Math.random()*100)) + 1 //constants Math.PI Math.E ---------------------------------------------------------------------------------------------------------------- courses and playlists Javascript Playlist: https://www.youtube.com/playlist?list=PLYM2_EX_xVvWA3nMtsoLclwDtVS_rLk6O HTML and CSS: https://www.youtube.com/playlist?list=PLYM2_EX_xVvXZ2A08faQ_7Iz4unlGs176 SQL: https://www.youtube.com/playlist?list=PLYM2_EX_xVvUBh28ZT2i-jH7kBkTfB_W2 DS and ALGO in C/CPP: https://www.youtube.com/watch?v=QQBVNwA9rDI&list=PLYM2_EX_xVvVMXkQt4qqosJTplBq5v5oX DS and ALGO in Java: https://www.youtube.com/watch?v=t2U989oaI1Q&list=PLYM2_EX_xVvX7_AmNY-Deacp3rT3MIXnE Python Full Course with game: https://www.youtube.com/watch?v=BiDOehqG68g Java Playlist: https://www.youtube.com/playlist?list=PLYM2_EX_xVvVXm005Gt5unmqW6GGMjHxa Java one video: https://www.youtube.com/watch?v=qOWPCPCDRZs&t=2751s C Interview program playlist: https://www.youtube.com/playlist?list=PLYM2_EX_xVvV4Kypzs6haPDJrXBaYFVEd C programming in one video: https://www.youtube.com/watch?v=JAy56OH58Y4&t=17269s C programming playlist: https://www.youtube.com/watch?v=xKGg8UfR0mM&list=PLYM2_EX_xVvU7N5Lcp1SjKnGN5e6riUoj C++ Playlist link: https://www.youtube.com/playlist?list=PLYM2_EX_xVvUppW1kS91ZNEI20k1V1liI English channel link: https://www.youtube.com/channel/UCFhHB5_2UkzB4V5iL1oaI-Q/featured