The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Java » Math

Java is the popular programming language that originated in 1995. Today, the Java ecosystem includes a very large number of specifications, libraries, frameworks, tools, as well as a thriving community. Take a dive through our collection of Java tutorials that cover a wide array of Java-related topics.

  • Core Java (258)
  • Java Streams (112)
  • Java IO (105)
  • Java List (90)
  • Java Map (78)
  • Java Dates (59)
  • Exception (59)
  • Regex (48)
  • Apache Commons (45)
  • x Math (42)
  • Java 8 (41)
  • Pattern (38)
  • Java Set (32)
  • Java NIO (27)
  • Java 9 (25)
  • Java Characters (22)
  • Reflection (22)
  • Java Interfaces (20)
  • Sorting (19)
  • Java Search (18)
  • Java Null (17)
  • Java Constructor (17)

>> Double Precision Issue in Java

>> How to Split an Integer Number Into Digits in Java

>> Clamp Function in Java

>> Cartesian Product of Any Number of Sets in Java

>> Convert Long to BigDecimal in Java

>> Convert Integer to Hexadecimal in Java

>> Return Absolute Difference of Two Integers in Java

>> Multiply a BigDecimal by an Integer in Java

>> Java Program to Calculate the Standard Deviation

>> Create a BMI Calculator in Java

>> Creating Random Numbers With No Duplicates in Java

>> Java Program to Find the Roots of a Quadratic Equation

>> Make Division of Two Integers Result in a Float

>> List All Factors of a Number in Java

>> Armstrong Numbers in Java

>> Check if a Number Is Positive or Negative in Java

>> How to Check Whether an Integer Exists in a Range with Java

>> Check if a Number Is Odd or Even in Java

>> Check if BigDecimal Value Is Zero

>> Random Number Generators in Java 17

>> Guide to Java BigInteger

>> Evaluating a Math Expression in Java

>> Comparing Doubles in Java

>> Division by Zero in Java: Exception, Infinity, or Not a Number

>> Add BigDecimals using the Stream API

>> Generating Random Numbers in Java

>> Finding the Least Common Multiple in Java

>> Calculating Logarithms in Java

>> Matrix Multiplication in Java

>> Find If Two Numbers Are Relatively Prime in Java

>> Java Bitwise Operators

>> Find the Longest Substring Without Repeating Characters

>> An Introduction to SuanShu

>> Using Math.sin with Degrees

>> Java 8 Math New Methods

>> Introduction to EthereumJ

>> Introduction to GeoTools

>> BigDecimal and BigInteger in Java

>> How to Round a Number to N Decimal Places in Java

>> Introduction to Apache Commons Math

>> Using Math.pow in Java

>> Java Money and the Currency API

  • ↑ Back to Top
res – REST with Spring (eBook) (cat=Java)
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo