A
A
alex5e2015-09-24 17:43:55
PHP
alex5e, 2015-09-24 17:43:55

How to convert a number from exponential format to int?

Tell me, how to correctly convert a number from float 1.0680031020043E+14 from exponential format to normal? I am parsing from an excel document and there is the number 106800310200433. When I convert it to int, I get a completely different number. Is it possible to convert it somehow to the same number or to a string, but so that the format is not exponential?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lyeskin, 2015-09-24
@lyeskin

www.php.net/manual/en/book.gmp.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question