-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Description
Description
Many applications work with money, weights, dimensions. Many applications store data in DECIMAL database fields. It would be nice if this data type will be supported by the PHP core without workarounds like bcmath. It is unintuitive to use string typehints for decimal numbers instead of just "decimal". In PHP8, passing float values to bcmath may lead to issues (sic!). It is unintuitive to use functions for math operations instead of just + - / * etc. With the native decimal support, the bcmath extension can be retired.