New answers tagged php
1
I think this is more of a PHP question versus bitcoin, but that's how PHP handles a zero float. https://www.php.net/manual/en/language.types.type-juggling.php
$var = 0.00000000;
echo $var;
Returns:
0
If you want to force a zero value to eight decimals you can use number_format() https://www.php.net/manual/en/function.number-format
$var = 0.00000000;
$...
0
Why do you want to save data in your database?
Your answer doesn't explain why but the answer can have a pattern, described below
When I need to store additional information when I use bitcoin RPC
In general, you don't need to store additional information from the DB, for instance, you don't need to store the block in your DB (I hope if you don't want pass ...
Top 50 recent answers are included
Related Tags
php × 163bitcoind × 40
json-rpc × 34
api × 23
blockchain.info × 14
blockchain × 13
bitcoin-core × 11
wallet × 8
address × 7
coinbase.com × 7
transactions × 6
client × 6
private-key × 6
public-key × 6
server × 6
development × 5
balance × 5
electrum × 4
exchange-rate × 4
address-generation × 4
bitcoin-cli × 4
javascript × 4
litecoin × 3
payment × 3
error × 3