New answers tagged

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