Checks if length of double value is EQUAL to max.
bool isLengthEqualTo(int other) => length == other;