Is it possible to work with Decimals in #Script rather than Doubles? I’m not sure how to define literal decimals values.
Yeah everything is passed as an object between methods but when make you comparison it compares them at the highest precision type, e.g. a decimal
+ a double
= a decimal
:
{{ 1.1.toDecimal() + 2.2 |> typeName }} //= Decimal