PHPackages                             danack/float-hex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. danack/float-hex

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

danack/float-hex
================

Float to hex strings, and float comparison.

1.1.0(4y ago)11874MITPHPPHP &gt;= 7.4

Since Aug 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Danack/FloatHex)[ Packagist](https://packagist.org/packages/danack/float-hex)[ RSS](/packages/danack-float-hex/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (7)Versions (4)Used By (0)

FloatHex
========

[](#floathex)

Functions for converting float to a hex-string and back again, and also for showing two floating point numbers as a binary representation.

[![Build Status](https://camo.githubusercontent.com/cef7cc3851cf4b5a3e5d8e40cd7cbfeb6dbb67343069b4a6aa2080290fa27980/68747470733a2f2f7472617669732d63692e6f72672f44616e61636b2f466c6f61744865782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Danack/FloatHex)

Example
-------

[](#example)

```
