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

149 lines
1.8 KiB
PHP

<?php
return [
[
0.45359230974880999,
1.0,
'lbm',
'kg',
],
[
123.45,
123.45,
'kg',
'kg',
],
[
20,
68,
'F',
'C',
],
[
68,
20,
'C',
'F',
],
[
293.14999999999998,
68,
'F',
'K',
],
[
68,
293.14999999999998,
'K',
'F',
],
[
295.14999999999998,
22,
'C',
'K',
],
[
22.5,
295.64999999999998,
'K',
'C',
],
[
'#N/A',
2.5,
'ft',
'sec',
],
[
12.345000000000001,
12345,
'm',
'km',
],
[
12345,
12.345000000000001,
'km',
'm',
],
[
0.62137119223732995,
1,
'km',
'mi',
],
[
'#VALUE!',
'three',
'ft',
'yds',
],
[
123.45,
123.45,
'K',
'kel',
],
[
123.45,
123.45,
'C',
'cel',
],
[
123.45,
123.45,
'F',
'fah',
],
[
'#N/A',
1,
'ft',
'day',
],
[
123.45,
123.45,
'm',
'm',
],
[
234.56,
234.56,
'km',
'km',
],
[
'#N/A',
234.56,
'kpt',
'lt',
],
[
'#N/A',
234.56,
'sm',
'm',
],
[
'#N/A',
234.56,
'lt',
'kpt',
],
[
'#N/A',
234.56,
'm',
'sm',
],
[
12345000,
12.345000000000001,
'km',
'mm',
],
];