Formatting and Modifying Data
Formatting data is a common task in programming languages to present data in a desired format. A programmer will also have to convert data in the same format or to a different format to allow it to be used in an algorithm.
In this chapter, we’re going to cover the following main topics:
- Modifying string data
- Modifying numerical data
- Modifying date and time data
- Formatting numeric values
- Formatting date and time values