ROUND

  • Last update:  2022-04-08
  • 1. Overview

    GrammarROUND(number,num_digits)Returns a number rounded by a specified number of digits.
    Parameter1number

    The number to be rounded.

    Parameter2num_digitsRounding is performed according to this number of digits. If it is less than 0, it is rounded to the left of the decimal point. Equal to 0, then round to the nearest integer. If it is greater than 0, it will be rounded to the specified decimal place.

    2. Matters needing attention

    Supports two numerical parameters.

    3. Examples

    Use the "FRDemo_MainlandCarSale" under "FRDemo" and "The Sales volume (ten thousand vehicles)" needs to be rounded to one decimal place.

    Click "New column" in the self-service dataset, name it, enter the formula ROUND(Sales volume (ten thousand vehicles),1), and click OK, as shown in the following figure:

    5.png

    Note: The functions and fields in the formula box need to be selected by clicking the selection area on the left, and cannot be entered manually.

    At this time, data with one decimal place appears in the self-service dataset, as shown in the following figure:

    6.png

    More data examples are as follows:

    FormulaResultRemark
    ROUND(2.15,1)2.2
    ROUND(2.149,1)2.1
    ROUND(-1.475,2) -1.48
    ROUND(21.5,-1) 20


    附件列表


    主题: Advanced Data Analyis
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy