A simple function to ease your floating point comparison headaches. Implemented in PHP and Javascript. Compare floating point numbers safely like this: moneycomp($income,’>',$debt) return ‘Happy’; Escape the plague of the .000000001!
Entries Tagged as 'php'
Floating Point Comparisons In PHP and Javascript
September 14th, 2007 · 4 Comments
Tags: php
Scraping Links With PHP
August 11th, 2007 · 60 Comments
In this tutorial I will show you how to build a PHP script that will scrape links from a web page. I also discuss the legal issues involved with scraping website content.
Tags: php
Makebeta is where the geeks of MerchantOS experiement with code and write technical articles.
MerchantOS is
Point of Sale Software
that makes running your retail business easy by organizing your
sales and inventory. There's no software to install and data backups
are automatic. Get your
point of sale and inventory control
the easy way with MerchantOS.
