Skip to content

Order of values appears to be importantΒ #14

@neodisco

Description

@neodisco

Using your example1.php and replacing with...

['length' => 1, 'width' => 1, 'height' => 100] results in "Container 100x1x100(cm) 10000(cm3)"

Whereas

['length' => 100, 'width' => 1, 'height' => 1] results in "Container 100x1x1(cm) 100(cm3)"

Is this a bug and/or do the 3 values need to be sorted desc before adding to length, width and height respectively?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions