This question already has an answer here:

How to calculate very long numbers in bash?

param=$(( 3247238523785623478565 + 53453453252345346534563412634 ))

echo $param

as we see here, this isn't the right answer because of the limit of integer numbers.

marked as duplicate by terdon May 11 '15 at 16:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Take your pick – Marco May 11 '15 at 16:14
  • the link above "How do integer & float" does not say anything about long numbers in bash. Most of the answers depend on tools other than bash (not always an option). so this is not a duplicate of that – philwalk Feb 14 '18 at 21:20

Use bc ("an arbitrary precision calculator language"):

param=$(bc <<< '3247238523785623478565 + 53453453252345346534563412634')

Not the answer you're looking for? Browse other questions tagged or ask your own question.