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
$_GET['price'] = '0.000045';
echo number_format(0.0000045, 7).PHP_EOL;
echo json_encode(
[ 'Цена' => (string) round(0.0000045, 7) ],
JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT
);