Hi, I have uitable and edit box. If I write 0.10000002 into edit box, than in uitable I get 0.10000002….this is ok. But if I write 0.00000002, than I get 0.00000002….but how can I get it in form 2.0*10^(-8)???
Thank you.
This is my code:
UserData.celkovamatica=cell(2,2); for i=1:2 for j=1:2 UserData.celkovamatica{i,j}='0'; end endUserData.celkovamatica{1,1}=sscanf(get(handles.edit6,'string'), '%s');T2=cellstr(char(UserData.celkovamatica{1,1}));result=strcat('<HTML>',T2);t = uitable('Parent',f,'Data',result)
Best Answer