1
function txt=value2modelica(v)
4
txt=stripblanks(sci2exp(v))
6
if kdot==[] then return,end
10
if or(part(txt,kdot-1)==['+','-']) then
11
txt=part(txt,1:kdot-1)+'0'+part(txt,kdot:length(txt))
15
txt=stripblanks(sci2exp(v,0))
16
kdot=strindex(txt,'.')
17
if kdot==[] then return,end
18
k=strindex(part(txt,kdot-1),['+','-',',',';','['])
19
if k==[] then return,end
23
txt=txt+part(t,k0:ki-1)+'0';
26
txt=txt+part(t,k0:length(t))