Libraries tagged by floats
roave/no-floaters
123316 Downloads
PHPStan Rules to Disallow Float proliferation in contexts where IEEE-754 rounding errors are not acceptable
nelexa/buffer
445526 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.
theodorejb/polycast
172914 Downloads
Safely cast values to int, float, or string
bluezed/yii2-float-thead
22056 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.
lamansky/fraction
34809 Downloads
A class that represents a fraction. Supports conversion to/from floats, mathematical operations, negative fractions, and Unicode stringification.
davidkmenta/doctrine-simple-array-types
95854 Downloads
Extended simple array types for Doctrine
cviebrock/eloquent-typecast
53668 Downloads
Trait for Eloquent models to force type-casting on retrieved values
snoeren-development/laravel-currency-casting
14059 Downloads
Cast currency attributes, stored as integer, to floats automatically.
orklah/psalm-strict-numeric-cast
39831 Downloads
Restrict the use of (int) and (float) to numeric-string only
ikr/money-math
11001 Downloads
gmp-based arbitrary precision operations on currency amounts "XXX.YY"; because floats are BAD for representing money
h4kuna/data-type
241411 Downloads
Basic data type, int, float, string, set, gps
ducks-project/spl-types
25463 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
72779 Downloads
A filtering implementation for verifying correct data and performing typical modifications to floats
granam/float
19528 Downloads
Converter and wrapping object for a float value
fisharebest/laravel-floats
10759 Downloads
Floating point support for Laravel migrations