Boxman demo - floor like contact

In the WCK Boxman demo, I saw this comment:
Code:
// Dot producting the contact normal with gravity indicates how floor-like the
// contact is. If the dot product = 1, it is a flat foor. If it is -1, it is
// a ceiling. If it's 0.5, it's a sloped floor. Save the contact manifold
// that is the most floor like.
But when I traced the value, I got 10 for horizontal surfaces. I found that gravity (by default) is set to 10. If I normalize gravity, then values will range between -1 and 1.

Or is something strange happening?
Yes you are right. I must've forgotten to normalize gravity. Now that I think about it, that code doesn't require it be normalized so I guess that's why I missed it.
Thank you for your reply.

Yes, if many cases checking for number > zero is enough. But I was looking at various surfaces and wanted more accuracy.

Original thread: https://box2d.org/forum/viewtopic.php?t=8807