RE: [Axapta-Knowledge-Village] str2num with comma as decimal separator

2008-01-07 Thread Jérôme Piquot
xapta-Knowledge-Village@yahoogroups.com Objet : RE: [Axapta-Knowledge-Village] str2num with comma as decimal separator Hi Jerome, You are right, but you can add this function to Global class. static real str2NumFr (str strNumber) { ; strNumber = strreplace(strN

RE: [Axapta-Knowledge-Village] str2num with comma as decimal separator

2008-01-07 Thread Anil Ozay
Hi Jerome, You are right, but you can add this function to Global class. static real str2NumFr (str strNumber) { ; strNumber = strreplace(strNumber, ',' , '.'); return str2num(strNumber); } I'm from Turkey and we have this problem too, and we solved it with this fun