2016-08-16 12:00:19 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// fractional_dollar, fraction, result
|
|
|
|
|
|
|
|
return [
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.125,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.02,
|
|
|
|
16,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.3125,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.1000000000000001,
|
|
|
|
32,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.0625,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.01,
|
|
|
|
16,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.625,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.1000000000000001,
|
|
|
|
16,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.09375,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.03,
|
|
|
|
32,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.9375,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.3,
|
|
|
|
32,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
1.375,
|
2016-08-16 12:00:19 +00:00
|
|
|
1.1200000000000001,
|
|
|
|
32,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'#DIV/0!',
|
2016-08-16 12:00:19 +00:00
|
|
|
1.2344999999999999,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'#NUM!',
|
2016-08-16 12:00:19 +00:00
|
|
|
1.2344999999999999,
|
|
|
|
-2,
|
|
|
|
],
|
|
|
|
];
|