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

58 lines
672 B
PHP
Raw Normal View History

<?php
return [
[
'357',
'545',
],
[
'1357',
'2515',
],
[
'246',
'366',
],
[
'12345',
'30071',
],
[
'123456789',
'726746425',
],
[
'123.45',
'173',
],
[
'58',
3,
'072',
],
[
'0',
'0',
],
// Invalid decimal
[
'3579A',
'#VALUE!',
],
// Non string
[
true,
'#VALUE!',
],
// 2's Complement
[
'-100',
'7777777634',
],
// 2's Complement
[
'-107',
'7777777625',
],
];