L
L
LebedevStr2017-12-26 22:24:13
PHP
LebedevStr, 2017-12-26 22:24:13

How to format floating point number in PHP?

Instead
of 7E-10;
Get
1.234;
How?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lubezniy, 2017-12-26
@lubezniy

php.net/manual/en/function.number-format.php

S
Stalker_RED, 2017-12-26
@Stalker_RED

php.net/manual/en/function.sprintf.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question