Oracle built-in function (a) numeric function

Source: Internet
Author: User

Oracle built-in functions are divided into four main categories:

  • numeric functions
  • Character functions
  • Date function
  • Conversion functions

This analytical numerical function:

First, rounding round

Round (DOUBLE,M)

Double: we want to deal with the decimals.

M:

Default: In the case of not filling out the defaults to 0, that is, rounding;

M>0: Rounding the decimal point m;

M<0: Rounds the M-bit before the decimal point.

Example

Second, take the whole

Ceil: Rounding up

Floor: Rounding Down

Three, commonly used calculation

1, ABS: Take absolute value

2, MoD: Take the remainder (except modulo) any parameter is NULL returns NULL

3. Power: Power function

4, sqrt: Seek square root

The four or three-corner function is not analyzed at this stage.

Oracle built-in function (a) numeric function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.