-
Java Math.pow example
A simple Math.pow example, display 2 to the power of 8.
Date: 2019-08-17 View: 1520
-
Java 8 Math Exact examples
Java 8 introduced new methods in the Math class that will throw an ArithmeticException to handle overflows. These methods consist of addExact, substractExact, multiplyExact, incrementExact, decrementExact and negateExact with int and long arguments. In addition, there’s a static toIntExact method to convert a long value to an int that also throws ArithmeticException.
Date: 2019-08-11 View: 1520
-
Oracle PL/SQL ABS function example
This ABS() function returns absolute value of a number, for example, the absolute value of 5 is 5, and the absolute value of -5 is also 5. In Mathematics, absolute value can be think of as a distance from zero.
Date: 2019-08-11 View: 1520
-
Oracle PL/SQL ASIN function example
The ASIN() function returns arc sine of input n, the input n must be in the range of -1 to 1. The function will return a value in the range of -pi/2 to pi/2, expressed in radians.
Date: 2019-08-11 View: 1520
-
Oracle PL/SQL ACOS function example
The ACOS() function returns the arc cosine of input n, the input n must be in the range of -1 to 1. The function will return a value in the range of 0 to pi, expressed in radians.
Date: 2019-08-11 View: 1520
-
Oracle PL/SQL FLOOR function example
The FLOOR() function round the specified number down, and return the largest number that is less than or equal to the specified number.
Date: 2019-08-11 View: 1520
-
Oracle PL/SQL CEIL function example
The CEIL function round the specified number up, and return the smallest number that is greater than or equal to the specified number.
Date: 2019-08-11 View: 1520
-
Oracle PL/SQL ATAN and ATAN2 function example
This article show you how to use ATAN() and ATAN2() function in Oracle PL/SQL.
Date: 2019-08-11 View: 1520