> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/7.6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/7.6/data-center/data-preparation-beta-release/data-preparation-workspace/transforms/numbers.md).

# Numbers

![](https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FD18OAzm864lo8XOm22SV%2Fimage.png?alt=media\&token=c736536f-74f6-4da6-8ea1-328da3eac94f)

## **Remove Fractional Part**

It removes the fractional part from the numerical column. The float column is converted into the integer data type.

The ***Remove Fractional Part*** transform is applied on the ***expense*** column. &#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F2wEiLjpiE5uHvirnFEZY%2Fimage.png?alt=media&amp;token=338842fd-f9f5-45de-bd55-706ea4abbe9d" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset after removing the fractional part from the selected column:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fk3D4yVX1qwyVkO4ljP0o%2Fimage.png?alt=media&amp;token=97e0c415-cc3d-4afd-9540-9113be9087f8" alt=""><figcaption></figcaption></figure>

## **Round Value using Ceil Mode**

It replaces the number with a greater integer value if the number is between two integers values. The transformed value can replace the existing column value or can be added as a new column.

&#x20;The ***Round value using ceil mode*** transform is applied to the ***ctc*** column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F318EDAddxQd991a9FK6s%2Fimage.png?alt=media&amp;token=f21c4527-d63e-43a6-a55d-83e6c943e755" alt=""><figcaption></figcaption></figure>

A new column gets added with the set round off value using ceil mode:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F0epb8AbsRNKMhIysNUqU%2Fimage.png?alt=media&amp;token=caa73026-86cb-4d20-a97c-4b9b3d97650d" alt=""><figcaption></figcaption></figure>

## **Round Value using Down Mode**

It rounds the number down to a specified digit or gives the specified number of decimals without any change in value. The transformed value can replace the existing column value or can be added as a new column.&#x20;

The ***Round Value using Down Mode*** transform has been applied to ***ctc*** column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FwrUQndz6d9JTTBehpmT0%2Fimage.png?alt=media&amp;token=ddc9ca88-affc-46d6-bc17-9ca36980af3c" alt=""><figcaption></figcaption></figure>

A new column gets added to the dataset with the round off values using the down mode on the ***ctc*** column data:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FBHvbZaCaj33kr8YrHFrA%2Fimage.png?alt=media&amp;token=a2482118-0158-4a7a-8001-e55062ca4401" alt=""><figcaption></figcaption></figure>

## **Round Value using Floor Mode**

It replaces a number with the lesser integer value, if the number is between two integer value, or it rounds the number down to the nearest multiple of Specified significance. It does not consider whether the next digit is 5 or less than or greater than 5. The transformed value can replace the existing column value or can be added as a new column.

&#x20;The ***Round Value using Floor Mode*** transform has been applied to the ***ctc*** column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FKmSxwFe2CKEyri8Gpzmu%2Fimage.png?alt=media&amp;token=7750d464-33d2-435f-b5dc-f72e3688fc73" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the round off values of the ***ctc*** column data by using the floor mode:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F1t6siwZn61Vhg9XgFykM%2Fimage.png?alt=media&amp;token=d69b289b-84a1-4df2-afa3-fde615c3742e" alt=""><figcaption></figcaption></figure>

## **Round Value using Half-up mode**

It replaces a number with the next integer value if its next digit is 5 or greater than 5. The transformed value can replace the existing column value or can be added as a new column.

&#x20;The ***Round Value using Half-up mode*** transform is applied to the ***ctc*** column as displayed below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fzf0aAU5EK54Dc8NJyszr%2Fimage.png?alt=media&amp;token=8806ed6e-7258-4076-925f-4fc00870c401" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the round off values of the ***ctc*** column data by using the half-up mode:&#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FZOQYVwULuCoZHlQgGhvR%2Fimage.png?alt=media&amp;token=4e1e5003-e97e-4390-b6d5-f8ecf12e2ee6" alt=""><figcaption></figcaption></figure>

## **Max**

It gives the maximum value from the selected columns row-wise. The selected column should be numerical and more than one.

The ***Max*** transform is applied to the ***revenue*** column as displayed below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FVK4ly4bV1lyV3rqn3EN8%2Fimage.png?alt=media&amp;token=4966cf4a-3b46-4270-b85c-9267118e1302" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the ***maximum*** values of the ***revenue*** column data:&#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FnW2MoeAzhUL5hZgaXGQ6%2Fimage.png?alt=media&amp;token=d187eb88-76ed-497e-adc7-b4bb8744c084" alt=""><figcaption></figcaption></figure>

## **Negate**

It complements the sing of a numeric value. If the value is positive, then a negative value comes and vice-versa.

The ***Negate*** transform is applied to the ***revenue*** column as displayed below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FBitWwsXOYkhbH6qZm7v2%2Fimage.png?alt=media&amp;token=16f8188a-6410-42c7-aba4-8ecd29647661" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the ***negative*** values of the ***revenue*** column data:&#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fkg4ZGqNN0eyQUFzXd8sB%2Fimage.png?alt=media&amp;token=c6320661-cc02-4339-95f9-ac63e3a2bbc5" alt=""><figcaption></figcaption></figure>

## **Min**

It gives the minimum value from the selected columns row-wise. The selected column should be numerical and more than one.

&#x20;The ***Min*** transform is applied to the ***revenue*** column as displayed below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FGREIr1sR5NsnP1ftauut%2Fimage.png?alt=media&amp;token=40d357f2-4a09-42fa-bf50-0b8119157c44" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the ***minimum*** values of the ***revenue*** column data:&#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FteLOUszrVIlISHm23goZ%2Fimage.png?alt=media&amp;token=b5498cce-ef0b-4401-a487-33a97275bdbd" alt=""><figcaption></figcaption></figure>

## **Mean**

It gives the average value of the selected columns row-wise. The selected column should be numerical and more than one.

The ***Mean*** transform is applied to the ***revenue*** column as displayed below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FtbHbVGNnQANWUIf1bUP2%2Fimage.png?alt=media&amp;token=fcdc5587-ffe8-4522-aadc-1da4c556c9f8" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the ***mean*** values of the ***revenue*** column data:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FeBU5Ok7NVCvlBW2pTFTC%2Fimage.png?alt=media&amp;token=9744552f-76bb-4a73-9a6a-80fad90b787d" alt=""><figcaption></figcaption></figure>

## **Number Names**

It converts the value of the selected column into words. The column must be of integer type.

**Use with:** It gives the users an option to convert words into either western format or Indian format.

The ***Number Names*** transform is applied to the ***revenue*** column as displayed below (used with the ***Western*** option:      &#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FFJ0CwlGFYUHgChaJUaeT%2Fimage.png?alt=media&amp;token=29838420-abe6-4d05-a522-90b261ebb337" alt=""><figcaption></figcaption></figure>

As a result, a new column gets added to the dataset with the ***Number Names*** of the ***revenue*** column data:    &#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FqDYbrWctwPeY9NqvpHMq%2Fimage.png?alt=media&amp;token=743b4169-29ef-4365-ae21-10f421c330b7" alt=""><figcaption></figcaption></figure>

&#x20;                           &#x20;
