CAN USE USE A GLOBAL VARIABLE FOR THE LOCATION OF A SERIES OF PLANES?

I haven't used global variables much but was trying to do create a variable that would allow a series of plane spacing to update thru the control of one variable. It would look something like the attached image. It's telling me I must enter a number between..........…..

SolidworksModeling And Assemblies