# Number

> Number field type in Data Service for storing positive or negative numeric values with configurable decimal places.

A **Number** field is used to store a number value. Number values can be positive or negative. You must specify the number of decimal places that you want to use.

## Details

Below is an overview of the details that can be specified to define a **Number** field.

 <colgroup>
  <col/>
  <col/>
  <col/>
  <col/>
  <col/>
 </colgroup>
 
  
     Property  
     Description  
     Required  
     Default Value  
     Allowed Values  
  
 
 
  
     Maximum Value  
     Enables you to specify the maximum value of the number that can be entered in the Number field. Note: This can be a negative number. 
     Yes  
     1000000000000  
     Between Minimum Value and 2^53 - 1  
  
  
     Minimum Value  
     Enables you to specify the minimum value of the number that can be entered in the Number field. Note: This can be a negative number. 
     Yes  
     -1000000000000  
     Between -(2^53 - 1) and Maximum Value  
  
  
     Decimal Places  
     Enables you to specify the maximum number of decimals that can be used for the Number field.  
     Yes  
     2  
     0 - 10  
  
  
     Default Value  
     Enables you to specify a default value for the Number field. Note: The default value can be changed in the Data tab. 
     No  
    &nbsp; 
    &nbsp; 
  
  
     Description  
     Enables you to enter a short text to describe the purpose of the Number field. Note: The Description will be displayed in Fields tab. 
     No  
    &nbsp; 
    &nbsp; 
  
 

## Representation in UiPath<sup>®</sup> Studio

A **Number** field will be imported as **Decimal** in your project.

Use **"G29"** or **F2** as [format strings](https://docs.microsoft.com/dotnet/standard/base-types/standard-numeric-format-strings) with `.ToString` function on Decimal types to get user friendly numeric formats.
