Skip to content

Instantly share code, notes, and snippets.

@abznak
Created November 3, 2011 06:52
Show Gist options
  • Save abznak/1335944 to your computer and use it in GitHub Desktop.
Save abznak/1335944 to your computer and use it in GitHub Desktop.
<?php
$a = '1E1';
$b = $a - (int)$a;
var_dump($b);
//output: float(9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment