O
O
object_Object2021-01-25 20:11:20
PHP
object_Object, 2021-01-25 20:11:20

How to correctly convert blockchain api amount?

Shalom everyone!
Forgive me in advance for a possibly stupid question (I’m not particularly good at math)

When requesting a blockchain api ( https://blockchain.info/rawaddr/16JXPyqRCTZbpBViwG... )
The number of bitcoins that came is 3403691 how to convert it to this format
0.03403691 PHP but you can just paint it like a first-grader in mathematical operations
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Talyan, 2021-01-25
@object_Object

Are you seriously?))

<?php
$a=3403691;
$b=$a*0.00000001;
echo $b;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question