hex to dec php
snippet in php

hex to dec php

user8431

$hexadecimal = 'afc758';

$decimal = hexdec($hexadecimal);

echo $hexadecimal . ' -> decimal value is: ' . $decimal;

hex to decimal php

user2566

$decimal_value = hexdec($hex_value);