O'Reilly logo

Java 9 Recipes: A Problem-Solution Approach, Third Edition by Josh Juneau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Josh Juneau 2017

Josh Juneau, Java 9 Recipes, 10.1007/978-1-4842-1976-8_4

4. Numbers and Dates

Josh Juneau

(1)Hinckley, Illinois, USA

Numbers play a significant role in many applications. As such, it is helpful to know how to use them correctly within the context of the work that you are trying to perform. This chapter helps you understand how to perform some of the most basic operations with numbers, and it also provides insight on performing advanced tasks such as working with currency. There are a number of ways to work with currency, and this chapter will focus on a couple of them.

Dates are also important as they can be used for many purposes within an application. In Java 8, the new Date-Time package called java.time was introduced. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required