Server Connects outputting everything as text

Wappler Version : 5.3.2
Operating System : Windows 11
Server Model: PHP 8.1
Database Type: MySQL
Hosting Type: Reseller

Expected behavior

Numbers should be output from server connects as numbers, not strins

Actual behavior

All numbers are output as strings.

Here is a sample database setup…

I have a query like this…

The output code looks like…

Output…

I’m trying to use the chosen field in an external library as boolean but because it’s returning text it’s not working.

If I output data from an API call it outputs correctly…

I noticed this the other day but am not sure if it’s always been that way. As I mentioned to @Teodor I remember having to use .toNumber() in the past but as I wasn’t doing a lot of work with numbers it wasn’t a big deal. Now, however, I really do need the output to be correct.

Community Page
Last updated: