Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 197 Bytes

function.HH.Lib.Math.from_base.md

File metadata and controls

7 lines (6 loc) · 197 Bytes
$val1 = Math\from_base("101", 2);
echo "101 in base 2 represents the number $val1 \n";

$val2 = Math\from_base("e", 16);
echo "e in base 16 represents the number $val2 \n";