PhpSpreadsheet/tests/data/Calculation/Engineering/HEX2OCT.php

59 lines
655 B
PHP
Raw Normal View History

<?php
return [
[
'01AB',
'653',
],
[
'ABCD',
'125715',
],
[
'F6',
'366',
],
[
'3B4E',
'35516',
],
[
'F',
3,
'017',
],
[
'12345',
'221505',
],
[
'123456789',
'#NUM!',
],
[
'123.45',
'#NUM!',
],
[
'0',
'0',
],
[
'G3579A',
'#NUM!',
],
[
true,
'#VALUE!',
],
[
'-107',
'#NUM!',
],
// 2's Complement
[
'FFFFFFFF00',
'7777777400',
],
];