Problem 1879. Converting numbers back from extended form
Thanks for all the help you guys gave me on writing out the numbers in extended form in Problem 1871. I got so good at it thanks to your help, now my teacher wants me to do the opposite. She's going to give me the number in extended form, and she wants me to write it out normally. In this case, the string '10000+200+30+4' would be the input, and the output would be the number 10234.
First I expand the number, and then I contract it. I wish she could just make up her mind!
Solution Stats
Problem Comments
Solution Comments
Show commentsGroup

Number Manipulation I
- 15 Problems
- 60 Finishers
- Number of 1s in the Binary Representation of a Number
- Convert Roman to Arabic Numerals
- 7 segment LED display
- Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
- Increment a number, given its digits
- Test if a Number is a Palindrome without using any String Operations
- Math with Roman Numerals
- Convert Roman to Arabic Numerals
- 7 segment LED display
- Make a simplified barcode
- Decode a simplified barcode
- Ripping numbers apart!
- Numbers in extended form
- Converting numbers back from extended form
- Additive persistence
- Rounding off numbers to n decimals
- Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
- Reverse Calculator
Problem Recent Solvers118
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!