Square Root Value

Logic name
Square Root Value (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic returns the square root of input numbers
Data types
Location |
Type |
---|---|
First input handler |
Numeric |
Logic output |
Numeric |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
Category |
Property |
Description |
---|---|---|
Precision |
Specify precision |
Select whether to directly specify the decimal places of precision in decimal type calculation. |
Precision |
Specified digits |
Directly specify the number of decimal places in decimal type precision. |
Precision |
Rounding |
Specify the method of rounding. |
Null processing |
Null option |
Specify how to handle the input if it contains null. |
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Null option
Option |
Description |
---|---|
Output null if the input is null |
Outputs null if the value of the input handler is null. |
Convert null into 0 |
Converts null to some value and continues with the process. |
Throw exception when unable to determine/calculate/process |
Throws an exception (CalculationException) and stops the processing when the system is unable to determine/calculate/process. |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Specification limits
-
An exception (CalculationException) is thrown when a value smaller than "0" is specified to input data.
Notes
-
If Specified digits is not selected, the result is output in fractional value.
-
For example, if "4" is entered, the result is "2.0".
-
-
An approximate value is adopted as a result if the value cannot be precisely indicated with 64-byte floating point like the square root of 10.
Logic sample
Mapping definition

Logic settings and processing result
The logic outputs the square root of input data.
Property settings
Property |
Setting |
---|---|
Specify precision |
Selected |
Specified digits |
4 |
Rounding |
Round to 0. |
Null option |
Output null |
Input data
2 |
3 |
4 |
Output data
1.4142 |
1.7320 |
2.0000 |
For a list of logics, refer to Mapper Logic Guide.