How to add an integer to a string in python - Oanda API

前端 未结 1 1713
无人及你
无人及你 2021-01-26 15:19

I am trying add a stop loss order along with a buy order using Oanda\'s REST API. As of right now I can easily specify a price for a stop loss, however, I would like to calcula

相关标签:
1条回答
  • 2021-01-26 16:00

    If you want to combine string and you should convert float to string

    ""+str(.1)
    
    0 讨论(0)
提交回复
热议问题