I'm getting an exception when trying to use a decimal value with FunScript. It can be reproduced simply by using:
Globals.window.alert(Globals.JSON.stringify(3M))
The exception says:
System.Exception was unhandled
Message: An unhandled exception of type 'System.Exception' occurred in FunScript.dll
Additional information: Could not compile expression: Call (None, MakeDecimal,
[Value (13), Value (0), Value (0), Value (false), Value (0uy)])
I suspect this is a FunScript limitation, but I just wanted to check. In that case, How could a decimal value be used in the context of FunScript code? Or How could Funscript be extended in order to fix this?