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.

  • Category upJava
  • Category upAlgorithms

Tag: Math

>> Return Absolute Difference of Two Integers in Java

>> Multiply a BigDecimal by an Integer in Java

>> Java Program to Print Pascal’s Triangle

>> 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

>> Determine if an Integer’s Square Root Is an Integer in Java

>> Comparing Doubles in Java

>> Largest Power of 2 That Is Less Than the Given Number with Java

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

>> Add BigDecimals using the Stream API

>> Generating Random Numbers in Java

>> Fibonacci Series 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

>> Generate Combinations in Java

>> Java Bitwise Operators

>> An Introduction to SuanShu

>> Using Math.sin with Degrees

>> Java 8 Math New Methods

>> Mathematical and Aggregate Operators in RxJava

>> Introduction to EthereumJ

>> Introduction to GeoTools

>> BigDecimal and BigInteger in Java

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

>> Guide to Mathematical Utilities in Guava

>> Introduction to Apache Commons Math

>> Using Math.pow in Java

>> Java Money and the Currency API

  • ↑ Back to Top
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