What is real constant?

  • Real constant are the numbers that contain decimal points such as 0.7, 15.5 and that may be positive or negative numbers.
  • For example:
    • 205.55, -55.23
  • Real constant may be either single precision or double precision numbers.
  • Single precision numeric constant stores six digits of precision and printed up to seven digits.
  • Double precision numeric constant are stored with 17 digits of precision and printed with up to 16 digits.

Share :

Facebook Twitter Google+
Back To Top

facebook main

counter

Powered by Blogger.