CONCEPTS OF PROGRAMMING LANG.-TEXT
CONCEPTS OF PROGRAMMING LANG.-TEXT
11th Edition
ISBN: 2810017678981
Author: Sebesta
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 6, Problem 2RQ
Program Plan Intro

Decimal data type:

  • Some programming languages gives a build-in decimal data type to represent non-repeating decimal fractions.
  • It could be implemented either a fixed-point number or floating-point number.
    • The denominator would be set to a fixed power of ten in the fixed-point case.
    • A variable exponent would denote the power of ten to which the mantissa of the number is multiplied in the floating-point case.

Blurred answer
Students have asked these similar questions
What are the advantages and disadvantages of decimal data types?
What are the disadvantages of decimal data types.
What are the benefits and drawbacks of decimal data types?
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
  • Text book image
    Systems Architecture
    Computer Science
    ISBN:9781305080195
    Author:Stephen D. Burd
    Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning