apoc.number.exact.add

Function APOC Core

apoc.number.exact.add(stringA,stringB) - return the sum’s result of two large numbers

Signature

apoc.number.exact.add(stringA :: STRING?, stringB :: STRING?) :: (STRING?)

Input parameters

Name Type Default

stringA

STRING?

null

stringB

STRING?

null

Usage Examples

RETURN apoc.number.exact.add('1213669989','1238126387') as output;
Table 1. Results
output

"2451796376"

RETURN apoc.number.exact.add(null,'1238126387') as output;
Table 2. Results
output

NULL

RETURN apoc.number.exact.add('1E6','1E6') as value;
Table 3. Results
Value

"2000000"