I am trying to run the following code:
$betamount=$_POST['bet'];
$litecoin->move($myusername,Admin,$betamount);
but its not working. It works when i replace $betamount with an actual number ie
$litecoin->move($myusername,Admin,0.2);
or
$betamount=0.1;
$litecoin->move($myusername,Admin,$betamount);
Can someone tell me what I am doing wrong?