Add two decimal number strings

0
Remix

Add two non-negative numbers given as strings and return the sum as a string, digit by digit with a carry. Then support a decimal point: pad the fractional parts to the same length, add from the right across the point, and trim the result.

MetaTechnical phone screenLast asked Jul 2025
No answer yet. Write the first one; the best answer gets endorsed.