(int) (round(19.33, 2) * 100) = 1932 - can someone please explain this to me?

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Brick\Math

    Arbitrary-precision arithmetic library for PHP (by brick)

  • Besides, using an arbitrary-precision library gives you an unlimited number of digits, and, in the case of brick/math, many more rounding modes to choose from. And predictable ones.

  • Brick\Money

    A money and currency library for PHP (by brick)

  • By the way, if you're dealing with money, I strongly invite you to check out brick/money, based on brick/math, with a similar interface, but specially designed to handle monetary amounts!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts