Re: [fpc-pascal] Problem with StrToCurrDef()

2014-06-05 Thread silvioprog
2014-06-05 5:16 GMT-03:00 LacaK : > silvioprog wrote / napísal(a): > > Hello, >> >> I'm trying to convert 'curr > str' and 'str to curr' respectively, but >> I've got a problem with StrToCurrDef(). See my test below: >> > See: http://www.freepascal.org/docs-html/rtl/sysutils/strtocurr.html > Or:

Re: [fpc-pascal] Problem with StrToCurrDef()

2014-06-05 Thread LacaK
silvioprog wrote / napísal(a): Hello, I'm trying to convert 'curr > str' and 'str to curr' respectively, but I've got a problem with StrToCurrDef(). See my test below: See: http://www.freepascal.org/docs-html/rtl/sysutils/strtocurr.html Or: http://docwiki.embarcadero.com/VCL/XE/en/SysUtils.St

[fpc-pascal] Problem with StrToCurrDef()

2014-06-04 Thread silvioprog
Hello, I'm trying to convert 'curr > str' and 'str to curr' respectively, but I've got a problem with StrToCurrDef(). See my test below: var s: string; c: Currency; begin c := 150.49; s := CurrToStrF(c, ffCurrency, 2); ShowMessage('OK: ' + s); // shows R$ 150,49 c := StrToCurrDef('R$