1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00
Michal Čihař f3ca367efa Fix number formatting with different settings of precision in PHP
- fixed Util::formatNumber to avoid rounding issues to mess up display
- force precision = 14 to ensure we get sane behavior

With precision set to higher value many things do not behave as expected
producing strange numbers in various places.

For example with precision=19 you get:

php > echo round(1.2, 2);
1.199999999999999956

Fixes #12303

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-30 15:51:18 +02:00
2016-08-17 15:14:46 +02:00
2016-08-18 17:07:00 +02:00
…
2016-08-30 14:04:55 +02:00
…
2016-07-11 09:02:58 +02:00
2016-05-16 11:37:21 +02:00
2016-07-11 09:02:58 +02:00
2016-01-25 12:19:34 +01:00
2016-01-14 13:09:55 +11:00
2016-07-22 16:48:33 +02:00
2016-01-28 09:23:27 +01:00
…
2016-02-12 13:47:04 +01:00
2016-05-23 13:02:21 +02:00
2016-01-06 12:02:31 +01:00
2016-07-11 09:02:58 +02:00
…
2016-08-16 21:35:34 -04:00
2016-05-10 15:04:29 +02:00
2016-01-19 11:31:41 +01:00
2016-01-14 09:51:53 +01:00
2016-01-14 09:51:53 +01:00
2016-01-01 12:00:46 -05:00

phpMyAdmin - Readme
===================

Version 4.6.5-dev

A web interface for MySQL and MariaDB.

https://www.phpmyadmin.net/

Summary
-------

phpMyAdmin is intended to handle the administration of MySQL over the web.
For a summary of features, list of requirements, and installation instructions,
please see the documentation in the ./doc/ folder or at https://docs.phpmyadmin.net/

Copyright
---------

Copyright © 1998 onwards -- the phpMyAdmin team

Certain libraries are copyrighted by their respective authors;
see the full copyright list for details.

For full copyright information, please see ./doc/copyright.rst

License
-------

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License version 2, as published by the
Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Licensing of current contributions
----------------------------------

Beginning on 2013-12-01, new contributions to this codebase are all licensed
under terms compatible with GPLv2-or-later.  phpMyAdmin is currently
transitioning older code to GPLv2-or-later, but work is not yet complete.

Enjoy!
------

The phpMyAdmin team
Description
Веб-интерфейс для MySQL и MariaDB
Readme GPL-2.0 2.6 GiB
Languages
PHP 74%
TypeScript 12%
Twig 7.2%
HTML 3.4%
SCSS 2.7%
Other 0.7%