addLargeNumbers(int​Astr,intBstr)

add two very large numbers while maintaining all digits
76 Downloads
Updated 12 Jun 2015

View License

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 (2024). addLargeNumbers(intAstr,intBstr) (https://www.mathworks.com/matlabcentral/fileexchange/51183-addlargenumbers-intastr-intbstr), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Elementary Math in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0