Why getting decimal in string instead of number in MySQL 8

W 4.9.1.
NodeJS
MySQL 8.0.22

Hi! For some time I’ve worked with MariaDB 10.1, but recently I’ve switched to MySQL 8.

I’ve noticed one strange difference: now I’m getting decimal in string instead of number.
For example, cost: "0.50" instead of cost: 0.5.

This is a bug or this is about settings in my DB?

Community Page
Last updated: