Open
Description
Description
In PHP 8.4.0, BcMath\Number
was introduced as an OOP interface for bcmath. When an object defines a property with a type as Number
, it is serialized as an object. It would be great if this was serialized as a string instead.
Example
Current:
"total": {
"@type": "Number",
"@id": "\/.well-known\/genid\/41767877a4385a2da6cc",
"value": "503.6",
"scale": 1
},
Expected:
"503.60"