Project

General

Profile

Actions

Bug #496

closed

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 about 4 years ago. Updated over 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.

Actions #1

Updated by Brian Flanagan about 4 years ago

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

It's fixed.

Actions #2

Updated by Brian Flanagan about 4 years ago

  • Estimated time set to 2:00 h
Actions #3

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

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

Actions

Also available in: Atom PDF