Hello,

it seems that str2num does not take regional settings for converting strings 
to real.

{
  str strNum = "125,45"; // france decimal separator is "," not "."
  real num;

 num = str2num(strNum);

 // num will contain 125
}

how can i convert numbers with decimal sépartor that is not "." ?

-- 



 

Cordialement,

__________________________

 

Jérôme Piquot

 

Gédimat Wolff-Catenne

6, rue de la Gare 

67120 Ernolsheim sur Bruche

France

 

Tél : +33 3 88 59 50 60

Fax: +33 1 41 30 17 34

Blog : http://piquot.spaces.live.com/ <http://piquot.spaces.live.com/> 

__________________________

 

Google Map pour Gédimat Wolff 
<http://maps.google.fr/maps?f=q&hl=fr&geocode=&time=&date=&ttype=&q=gedimat+wolff&sll=47.15984,2.988281&sspn=11.460679,20.43457&num=10&ie=UTF8&ll=48.56752,7.646484&spn=0.174254,0.31929&z=12&iwloc=A&om=1>
 

 



[Non-text portions of this message have been removed]

Reply via email to