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:
2014-06-05 5:16 GMT-03:00 LacaK la...@zoznam.sk:
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
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$