crypto
crypto copied to clipboard
`abs` does not takes double as argument
in interpreter:
brs> ?abs(1.1222222222222)
REPL(1,20-21): Provided arguments don't match Abs's signature.
function Abs(x as Float) as Float:
* Argument 'x' must be of type Float, but received Double.
But in brightscript it works, and abs will truncate it to float