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

72 lines
839 B
PHP
Raw Normal View History

<?php
return [
[
'11111111',
'FF',
],
[
'111111111',
'1FF',
],
[
'#NUM!',
'200',
],
// 2's Complement
[
'1000000000',
'FFFFFFFE00',
],
// 2's Complement
[
'#NUM!',
'FFFFFFFDFF',
],
[
'110101011',
'01AB',
],
[
'#NUM!',
'ABCD',
],
[
'11110110',
'F6',
],
[
'00001111',
'F',
8,
],
[
'10110111',
'B7',
],
[
'#NUM!',
'12345',
],
[
'#NUM!',
'123456789',
],
[
'#NUM!',
'123.45',
],
[
'0',
'0',
],
[
'#NUM!',
'G3579A',
],
[
'#VALUE!',
true,
],
];