Lexpedite / blawx

A user-friendly web-based tool for Rules as Code.
MIT License
100 stars 9 forks source link

Some numbers are being provided as terms, which is messing up scenario editor display #515

Closed Gauntlet173 closed 1 year ago

Gauntlet173 commented 1 year ago

I'm getting answers back like

"args": [
                    {
                      "args": [],
                      "functor": 736436181.2434658
                    }
                  ],
                  "functor": "duration"

which would mean duration(736436181.2434658()) I have no idea why s(CASP) would be returning that sort of term. I guess the solution is to check to see if it is happening and convert it.

Gauntlet173 commented 1 year ago

so far this has only shown up in durations,, but it's fixed, there in v1.6.4-alpha