When creating a SOAP client for example in Visual Studio, currently there is a Problem, that objects cannot be deserialized when they contain scalar types with a null value.
Using a programming language with strict types, float, int, etc.. are not allowed to be null, instead should be casted to 0.0 or 0.
In the SOAP Api, all values are type casted except when they are null: https://github.com/magento/magento2/blob/develop/lib/internal/Magento/Framework/Reflection/TypeCaster.php#L25
Is there any reason for this?
Magento Issue: https://github.com/magento/magento2/issues/3605