The word constant can be used either as a noun:
or as an adjective:
Which is intended can usually be deduced from the context.