Learn how to convert numbers to ordinals in JavaScript. Getting the ordinal of a number allows you to display it in a human-readable format.
Tag: data types
Quick Tip: How to Convert Numbers to Ordinals in JavaScript
Quick Tip: How to Convert a String to a Number in JavaScript
Learn three simple ways to convert a string into a number in JavaScript, with simple-to-follow examples and tips on which method to use.
Quick Tip: How to Convert a Number to a String in JavaScript
Learn four simple ways to convert a number into a string in JavaScript, with simple-to-follow examples and tips on which method to use.
What Is a Boolean Data Type, and What Are Some Uses?
Learn what a Boolean Data Type is, how it's used in programming, and see examples of boolean operators that'll help you understand logic.
Data Types in Sass
An overview of the various data types available to developers in Sass, including numbers, booleans, strings, maps, lists and more.
Automatic Type Conversion In The Real World
Looking at two JavaScript shorthand expressions that rely on automatic type conversion, and discusses when they are - and are not - a good idea.