Data Science - Learn to code for beginners

with deeplizard.

Convert decimal to binary using Javascript | Text to binary with code

May 26, 2018 by

Description

In the text-to-binary video, we saw how to go from text, to character codes, to binary numerals. In this video, we are going to see how this works behind the scenes using JavaScript. Understanding how we can go from text to binary is pretty straight forward after we understand how character encoding and positional numeral systems work. Let's see how to do this in code. Discussion of String.charCodeAt is here - https://youtu.be/M8CbBfx5228?t=91 Prerequisites videos: Numerical data explained - https://youtu.be/YDDqe60omL0 Textual data explained - https://youtu.be/-XLZadCdo9Q *Unicode explained - https://youtu.be/M8CbBfx5228 Numeral vs Number - https://youtu.be/RSdnNZBj8HQ **Binary vs Decimal - https://youtu.be/-MM6PcEQnWc Hexadecimal explained - https://youtu.be/JlLnt4aJEK0 5 Patterns with Numbers - https://youtu.be/-iMpJ-xGG4k * Character encoding ** Positional numeral systems Related video: Is your name also a number? - https://youtu.be/jxYi4RGlIV4 Notebook - https://beta.observablehq.com/@deeplizard/text-to-binary-and-back Follow deeplizard: YouTube: https://www.youtube.com/deeplizard Twitter: https://twitter.com/deeplizard Facebook: https://www.facebook.com/Deeplizard-145413762948316 Steemit: https://steemit.com/@deeplizard Instagram: https://www.instagram.com/deeplizard/ Pinterest: https://www.pinterest.com/deeplizard/ Support deeplizard on Patreon: https://www.patreon.com/deeplizard Checkout products deeplizard suggests on Amazon: https://www.amazon.com/shop/deeplizard Support deeplizard by browsing with Brave: https://brave.com/dee530 Support deeplizard with crypto: Bitcoin: 1AFgm3fLTiG5pNPgnfkKdsktgxLCMYpxCN Litecoin: LTZ2AUGpDmFm85y89PFFvVR5QmfX6Rfzg3 Ether: 0x9105cd0ecbc921ad19f6d5f9dd249735da8269ef Recommended books on AI: The Most Human Human: What Artificial Intelligence Teaches Us About Being Alive: http://amzn.to/2GtjKqu Life 3.0: Being Human in the Age of Artificial Intelligence https://amzn.to/2H5Iau4 Playlists: Data Science - https://www.youtube.com/playlist?list=PLZbbT5o_s2xrth-Cqs_R9-us6IWk9x27z Machine Learning - https://www.youtube.com/playlist?list=PLZbbT5o_s2xq7LwI2y8_QtvuXZedL6tQU Keras - https://www.youtube.com/playlist?list=PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL Music: Chillin Hard by Kevin MacLeod Thinking Music by Kevin MacLeod Investigations by Kevin MacLeod YouTube: https://www.youtube.com/channel/UCSZXFhRIx6b0dFX3xS8L1yQ Website: http://incompetech.com/ Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/