Hi
How can I best convert a real number such as 16.00000000000000 into a string "16"?
I can use num2str but that doesnt remove the zeros. And I can loop through the string and remove the zeros and then remove the decimal point as well, but wondered if there was a more elegant solution?
Thanks in advance
*This post is locked for comments