it with this
function.
Regards,
Anil Ozay
MVP Dyanmics AX
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jérôme Piquot
Sent: Saturday, January 05, 2008 10:19 PM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] str2num with comma
-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(strNumber
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 . ?
--
3 matches
Mail list logo