apoc.number.exact.mul

Function APOC Core

apoc.number.exact.mul(stringA,stringB,[prec],[roundingModel]) - return the multiplication’s result of two large numbers

Signature

apoc.number.exact.mul(stringA :: STRING?, stringB :: STRING?, precision = 0 :: INTEGER?, roundingMode = HALF_UP :: STRING?) :: (STRING?)

Input parameters

Name Type Default

stringA

STRING?

null

stringB

STRING?

null

precision

INTEGER?

0

roundingMode

STRING?

HALF_UP

Usage Examples

RETURN apoc.number.exact.mul('550058444','662557', 15, 'HALF_DOWN') as output;
Table 1. Results
output

"364445072481308"