How-to articles, tricks, and solutions about CONVERTING

How to Convert a Float Number to Whole Number in JavaScript

In this tutorial, you will read and learn detailed information about the methods used for converting a float number to a whole number with lots of examples.

How to Convert a Number to a String in JavaScript

Read the tutorial and find several easy and fast approaches to converting a number to a string in JavaScript. Choose the best method for your workflow.

How to Convert RGB to Hex and Vice Versa

Read this tutorial and learn several methods that are used for converting the RGB value to Hexadecimal value easily with the help of JavaScript function.

How to Convert String to Title Case with JavaScript

Read this JavaScript tutorial and learn information about the combinations of methods that make it possible to convert the string to title case easily.

How to Convert the Image into a Base64 String Using JavaScript

Read this tutorial and learn several methods of converting an image to a Base64 string using JavaScript. Choose the right approach for you and try examples.

How to Do String Interpolation in JavaScript

Read this tutorial and learn the simplest method of doing a string interpolation in JavaScript. Also, read information about string literal and placeholder.

How to Encode and Decode Strings with Base64 in JavaScript

Read this tutorial and learn useful information about two JavaScript built-in functions which are used to convert a string to and from base64 encoding.

How to Replace a Character at a Particular Index in JavaScript

In this tutorial, you will read and learn detailed information about methods that are used to replace a character at a particular index in JavaScript.