What is double precision variable?

  • If there is need to store the numeric values as decimal values, real variables may be use.
  • Any numeric variable by default is assumed as real variable.
  • The variable declared by using an hash ( # ) as the last character of the variable name is double precision variable.
  • When a variable is declared as double precision and that exceeds 16 digits, it is rounded to its closest value.
  • For example:
    • if variable declared as A# = 123456789123456789, then the value stored will be 1.234567891234568D+17.

Share :

Twitter
Back To Top

facebook main

counter

Powered by Blogger.