[Axapta-Knowledge-Village] Re: string to real conversion in x++

2009-11-02 Thread r_ssh
Hi, Please use the following function. str2Num - Converts a text string to a real number. Example: str2Num("140.455") returns the value 140.455. Thanks Santosh.R --- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" wrote: > > Hi, > > Can anyone give me an idea on how to convert a

[Axapta-Knowledge-Village] Re: string to real conversion in x++

2009-11-02 Thread jcristobaal
Sure ! Use the function 'str2num' ; Examples : Str2Num("123.45") returns the value '123.45'. Str2Num("a123") returns the value '0.0'. Str2Num("123a") returns the value '123.00'. Best regards --- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" wrote: > > Hi, > > Can anyone give me