LogoLogo
About
Tables: v2
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
Tables: v2
  • Getting Started
    • Tables Overview
  • Table Creation
    • Create a Table
    • Create a Sample Table
    • Create a Pivot Table
    • Create an Integer Table
    • Create a Table from JSON
    • Create a Combined Table
    • Get a Table from a File
  • Rows
    • Get Rows
    • Get Row Count
    • Get Row Number
    • Get Value from Row
    • Insert a Row
    • Insert an Empty Row
    • Remove Duplicate Rows
    • Set a Row to JSON
  • Columns
    • Get a Column
    • Get a Column's Values
    • Get a Column Number
    • Get Column Count
    • Get Column Stats
    • Get Column Names
    • Change a Column's Data Type
    • Delete Columns
    • Insert a Column
    • Move a Column
    • Rename a Column
    • Rename Columns
    • Round a Column's Values
    • Update a Column
  • Cells
    • Set a Cell in a Table
  • Conversions
    • Convert CSV to a Table
    • Convert a Table to CSV
    • Convert a Table to Excel
  • Manipulations
    • Clear a Table
    • Combine Tables
    • Copy a Table
    • Extract a Subtable
    • Query a Table
    • Sort a Table
    • Replace a Value
    • Replace a Value in a Column
    • Transpose a Table
Powered by GitBook
On this page
  • Overview
  • Input Concepts
  • Output Concepts
  • Examples

Was this helpful?

Export as PDF
  1. Columns

Round a Column's Values

Rounds the values in a specified column of a table to a given number of decimal digits.

Overview

Rounds the values in a specified column of a table to a given number of decimal digits.

Input Concepts

Concept
Type
Description
Default
Required

table

table

The table containing a column with values to be rounded.

No default

Yes

column

text

The NAME of the column to be rounded, enclosed in quotes.

No default

Yes

decimal digits

int

The number of decimal places to round to.

0

No

Output Concepts

Concept
Description

table

The table with the column values rounded.

Examples

1. Round a Column

create an integer table
insert a column in the integer table where
  the column name is "Age"
  the column values are 30.6, 25.2, 35.5
  the column number is 4
round the table's "Age" column
Amt
Min
Max
Age

100.0

10.0

300.0

31

200.0

5.0

500.0

25

-

-

-

36

Last updated 21 days ago

Was this helpful?