Patch getDecimalInfo to support the range form of the places constraint.
Fixes #18367.