How to declare and modify and use a static variable in shader?

I need the sample code…

ex:
static const float floatName = 1.0;