Constant

In programming, a constant is a value that never changes. The other type of values that programs use is variables, symbols that can represent different values throughout the course of a program.

A constant can be

  • a number, like 25 or 3.6
  • a character string, like “this is a string”
  • Constants are also used in spreadsheet applications to place non-changing values in cells. In contrast, a spreadsheet formula can produce a different value each time the spreadsheet is opened or changed.

    Webopedia Staff
    Since 1995, more than 100 tech experts and researchers have kept Webopedia’s definitions, articles, and study guides up to date. For more information on current editorial staff, please visit our About page.

    Top Articles

    The Complete List of 1500+ Common Text Abbreviations & Acronyms

    From A3 to ZZZ we list 1,559 SMS, online chat, and text abbreviations to help you translate and understand today's texting lingo. Includes Top...

    Windows Operating System History & Versions

    The Windows operating system (Windows OS) refers to a family of operating systems developed by Microsoft Corporation. We look at the history of Windows...

    How to Create a Website Shortcut on Your Desktop

    Website Shortcut on Your Desktop reviewed by Web Webster   This Webopedia guide will show you how to create a website shortcut on your desktop using...

    Generations of Computers (1st to 5th)

    Reviewed by Web Webster Learn about each of the 5 generations of computers and major technology developments that have led to the computing devices that...

    Pardot

    What is Pardot? Pardot is a B2B marketing automation (MA) solution by Salesforce that...

    Veeam

    Veeam Software is a global vendor...

    Akamai

    Akamai Technologies is a global web technology company specializing in content...