Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
$test = "2408570.00";
echo json_encode(
[ 'Цена' => (float)number_format($test,2, '.', '') ],
JSON_UNESCAPED_UNICODE | JSON_PRESERVE_ZERO_FRACTION
);