10.000 is not decimal ?
Nov 4, 2022
3
Level 1
PHP Soap client response vs. Python Zeep
I use Soap client to make a call and then return the result as Collection. Using Python and Zeep, float values are returned as floats, but PHP's __soapCall('GetSomeService', $params) is returning strings, which is super annoying. Nice thing is that Laravel's API converts the collection automatically to JSON. This float comes as a string directly from __soapCall(), so it's not a Lavavel problem exactly. Python also has a nice conversion jo JSON, whera floats are decimal numbers, not "strings", so 10.000 is not "10.000".
Please or to participate in this conversation.