addLargeNumbers(int​Astr,intBstr)

add two very large numbers while maintaining all digits

You are now following this Submission

This function uses two string inputs, which are by nature a string of integers representing a number. This provides a result with all the digits instead of curtailing them from standard output. Works for numbers >e303

Cite As

Justin Spinner (2026). addLargeNumbers(intAstr,intBstr) (https://www.mathworks.com/matlabcentral/fileexchange/51183-addlargenumbers-intastr-intbstr), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Elementary Math in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0