Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Peppe89

Status
Not open for further replies.

peppebig89

Technical User
Apr 13, 2016
5
IT
Good evening everyone. I wanted to ask for a piece of information: how do I write the instruction that if for example NR (real number) does not correspond precisely to a real number that I put on the screen but for example to a letter to me then the program should return the message 'Incorrect value of nunero! '?
 
You will have problems with real numbers that are not factors of 2. Binary representations are not always the same.
 
is this a guessing game you are writing? Please provide more context, like your fortran program and tell us what is happening or not happening.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top