We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779971d commit 98654fdCopy full SHA for 98654fd
tests/PhysicalQuantity/LengthTest.php
@@ -156,7 +156,7 @@ public function testToMegameters(): void
156
public function testToInches(): void
157
{
158
$quantity = new Length(2, 'ft');
159
- $this->assertEquals(24, $quantity->toUnit('in'));
+ $this->assertEquals(24, round($quantity->toUnit('in')));
160
}
161
162
public function testToNauticalMiles(): void
0 commit comments