apoc.number.exact.sub

Function

apoc.number.exact.sub(stringA String, stringB String) - returns the sum of subtracting a given large number from another given large number (using Java BigDecimal).

Signature

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

Input parameters

Name Type Default

stringA

STRING?

null

stringB

STRING?

null

Usage Examples

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

"24456398"