Hello, I’m using Spryker’s docker environment and ...
# docker
m
Hello, I’m using Spryker’s docker environment and found error with json_encode (and spryker’s json service). PRobably because wrong
precission
and
serialize_precision
configs it jsonizes floats to the strange numbers, eg
7051.22
to
7051.2200000000003
. Have you faced this problem? How can i fix it without overwriting
docker/sdk
files?
h
Hello, You can set any INI parameter via deploy.yml according the doc But I would like to advise you to avoid using floats at all.
m
thanks
sadly I can’t stop using floats. Some 3rd party apis require them 😉