It looks like there is a problem with the BANano parser with the parantheses. It should work like B4J but it somehow closes them to early when transpiling to the JavaScript Math functions. Will require a deeper investigation why this does happen.
For now, maybe simplify it by putting it in a variable before passing it to one of these Math methods (temp solution until I find the culprit)
B4X:
Dim sinValue As Double = (cPI - cPI * 2 / 3) / 2
Log(Sin(sinValue))
It looks like there is a problem with the BANano parser with the parantheses. It should work like B4J but it somehow closes them to early when transpiling to the JavaScript Math functions. Will require a deeper investigation why this does happen.
For now, maybe simplify it by putting it in a variable before passing it to one of these Math methods (temp solution until I find the culprit)
B4X:
Dim sinValue As Double = (cPI - cPI * 2 / 3) / 2
Log(Sin(sinValue))