Project

General

Profile

Bug #496

When using Add to increment an Integer variable, if the amount you're adding comes from a float NaN is the result.

Added by Brian Flanagan over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
09/16/2020
Due date:
% Done:

0%

Estimated time:
2:00 h
Affected version:

Description

LEVEL = 50
V# = 10
Add LEVEL, V#
Print LEVEL

The result printed is:
NaN

The work-around (and best practice) is to use Int on a floating point operand that will modify an integer variable.

#1

Updated by Brian Flanagan over 3 years ago

  • Status changed from In Progress to Resolved
  • Target version set to Beta RC2

It's fixed.

#2

Updated by Brian Flanagan over 3 years ago

  • Estimated time set to 2:00 h
#3

Updated by Brian Flanagan about 3 years ago

  • Status changed from Resolved to Closed

Resolved in Beta RC2.
Works in the current Version as well. (1.0.0 (B7))

Also available in: Atom PDF