Answers for "php bigint"

PHP
8

php to int

$num = "3.14";
$int = (int)$num;
Posted by: Guest on April-13-2020
0

big int php

<?php
    include('Math/BigInteger.php');

    $a = new Math_BigInteger(2);
    $b = new Math_BigInteger(3);
    $c = $a->add($b);
    echo $c->toString(); 	// 5
?>
Posted by: Guest on March-22-2021

Browse Popular Code Answers by Language