Hi,
procedure TForm1.wbtn1Click(Sender: TObject);
var a:Currency;
begin
a:=StrToCurr('1...............0');
console.log(a);
end;
in console output result is 10
Should be an exception "can't convert" or something like this
Hi,
procedure TForm1.wbtn1Click(Sender: TObject);
var a:Currency;
begin
a:=StrToCurr('1...............0');
console.log(a);
end;
in console output result is 10
Should be an exception "can't convert" or something like this
We will report this to the pas2js team since this is from pas2js RTL