What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

With the Data Explorer, when using "strongly-typed" integer parameters in the form of ##VariableName:int##, you can't enter negative values. When attempting to do so, you get an error message:

Expected value of VariableName to be a int!

You can try this for yourself; I noticed this while composing a simple "worst answers" query with a user-supplied cutoff score. Attempting to enter negative scores causes this error, while values of 0 and above work. (Don't try this at home Stack Overflow, kids!)

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

Yeah, it seems that the numeric typed (both int and float) parameters never accepted negative values. I've gone ahead and updated the value checks to allow this, so now your example works in my local environment.

I imagine that this was just an overlooked use case, so hopefully it'll be pulled and Data Explorer updated soon, unless waffles had a reason for this being the way it was.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .