Click here

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.



    Top Terms
    • 1

      enterprise application

      An enterprise application is the term used to describe applications -- or software -- that a business would use to assist the organization in...

      Read more »

    • 2

      open source

      Generically, open source refers to a program in which the source code is available to the general public for use and/or modification from its...

      Read more »

    • Click Here!

    Connect with Webopedia

    Did You Know? Archive »

    • Quick Reference Archive »