November 28, 2009

constant

Last modified: Tuesday, January 27, 2004 

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.

     
    Related Categories

    Programming

    Related Terms

    absolute cell reference

    character string

    formula

    literal

    variable

    Shopping
    constant Products
    Compare Products,Prices and Stores

    Shop by Category:
    Sport and Outdoor
    4258 Store Offers

    Tools and Accessories
    1035 Store Offers

    Clothing
    2247 Store Offers

    Lighting
    1351 Store Offers

    Food and Drink
    21 Store Offers

    Security Solutions