StrToCurr strange string conversion

Hi,

procedure TForm1.wbtn1Click(Sender: TObject);
var a:Currency;
begin
a:=StrToCurr('1...............0');
console.log(a);
end;

in console output result is 10 :smile:

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