Libraries tagged by float
roave/no-floaters
132513 Downloads
PHPStan Rules to Disallow Float proliferation in contexts where IEEE-754 rounding errors are not acceptable
php-decimal/php-decimal
593798 Downloads
Correctly-rounded arbitrary precision decimal floating point
nelexa/buffer
454677 Downloads
Reading And Writing Binary Data (incl. primitive types, ex. byte, ubyte, short, ushort, int, uint, long, float, double). The classes also help with porting the I/O operations of the JAVA code.
floatingpoint/stylist
182201 Downloads
Laravel 5 theming package.
theodorejb/polycast
176071 Downloads
Safely cast values to int, float, or string
scify/laravel-cookies-consent
7782 Downloads
A Laravel package that provides a Cookies consent floating window and publishes the Cookies for the different consent categories
bluezed/yii2-float-thead
23651 Downloads
This is a Yii 2 wrapper for jquery.floatThead a floating/locked/sticky/fixed table header plugin that requires no special CSS and supports window and overflow scrolling.
pronamic/wp-number
75746 Downloads
WordPress Number library.
lamansky/fraction
36196 Downloads
A class that represents a fraction. Supports conversion to/from floats, mathematical operations, negative fractions, and Unicode stringification.
cviebrock/eloquent-typecast
54716 Downloads
Trait for Eloquent models to force type-casting on retrieved values
orklah/psalm-strict-numeric-cast
41357 Downloads
Restrict the use of (int) and (float) to numeric-string only
ikr/money-math
11233 Downloads
gmp-based arbitrary precision operations on currency amounts "XXX.YY"; because floats are BAD for representing money
h4kuna/data-type
243920 Downloads
Basic data type, int, float, string, set, gps
ducks-project/spl-types
26060 Downloads
Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string
traderinteractive/filter-floats
74605 Downloads
A filtering implementation for verifying correct data and performing typical modifications to floats