What is posted seems a bit confused.The scalar projection of b in the a direction is a length. Can this be a negative value?
I gave two - the first mentioned is b and the second is a. I'm sorry - I don't know how to do vectors in mathjax so it's not clear.You gave only one.