Clear Filters
Clear Filters

'123' to 123

7 views (last 30 days)
dmfwlansejr
dmfwlansejr on 30 Jul 2021
Answered: Stephen23 on 30 Jul 2021
A='123';
i want convert to number 123
A=123

Accepted Answer

Stephen23
Stephen23 on 30 Jul 2021
A = '123'
A = '123'
A = str2double(A)
A = 123

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!