src/Peach/DF/JsonCodec/Number.php
public function getResult()
    {
        $num = floatval($this->result);
        if ($this->isFloat) {
            return $num;
        }
        
        $border = pow(2, 32);
        if (-$border <= $num && $num < $border) {
            return intval($num);
        } else {
            return $this->bigNumAsString ? $this->result : $num;
        }
    }
public function getResult()
    {
        $num = floatval($this->result);
        if ($this->isFloat) {
            return $num;
        }
        
        $border = pow(2, 32);
        if (-$border <= $num && $num < $border) {
            return intval($num);
        } else {
            return $this->bigNumAsString ? $this->result : $num;
        }
    }
解析結果を返します.
返り値の型は解析内容に応じて整数, 文字列, float のいずれかとなります.

@return numeric