dseguy, French
@dseguy@phpc.social avatar

has a 'precision' directive that controls the number of decimals displayed by float values.

It default to 14, and peaks at 18, and gives up at 54. Use gmp for large numbers.

When changing it, don't forget to reset it to default, unless you like to puzzle people.

https://php-tips.readthedocs.io/en/latest/tips/precision.html

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • khanakhh
  • rosin
  • Youngstown
  • slotface
  • mdbf
  • cubers
  • kavyap
  • ethstaker
  • everett
  • ngwrru68w68
  • JUstTest
  • Durango
  • osvaldo12
  • tacticalgear
  • cisconetworking
  • tester
  • normalnudes
  • anitta
  • GTA5RPClips
  • modclub
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines