View Issue Details

IDProjectCategoryView StatusLast Update
0003298NoesisGUIStudiopublic2025-04-02 11:09
Reporterdstewart Assigned Tojsantos  
PrioritylowSeverityminor 
Status assignedResolutionopen 
Product VersionStudio_Alpha 
Target VersionStudio_Beta 
Summary0003298: Data Numbers Do Not Accurately Display Billions
Description

This is a super low-priority one, but logging for tracking purposes:

When reaching one billion, all Data numbers convert to Scientific annotation, and can sometimes result in presenting inaccurate values in the process.

For example, if a a value of "1,234,567,890" is entered, it gets converted to "1.234568E+09" which if my math is not incorrect, corresponds to "1,234,568,000" instead of "1,234,567,890".

Steps To Reproduce

Repro Steps:

1) Create a Page
2) Create a Data Structure
3) Within the Data Structure created in Step 2), create a Property named "Number" of Type: 'Number' and of Maximum Value Generator value of one billion (1000000000)

Observe how the Max Value in the Value Generator section is converted to "1E+09"
Expected Results: Numerical input matches what is typed in.

4) Create a Data Set from the Data Structure created in Step 2), and apply it to the Page created in Step 1)
5) Drag in a Text Block to the Page created in Step 1).
6) Bind the Text Property to the "Number" Data Property
7) In the Data Set created in Step 4), input a simply "123" value into the 'Number' field.

Observe how the number correctly displays "123" within the TextBlock.

8) In the 'Number' Data field from Step 7), type "1000000000"

Observe how the numerical value is converted to "1E+09"

9) In the 'Number' Data field from Step 7, type "1234567890"

Observe how the numerical value is converted to "1.234568E+09"
Observe how this Scientific Value represents "1,234,568,000" instead of "1,234,567,890"

If this Data item represented a player's in-game credits account for example, their account value would be imprecise by 110 credits.

Expected Results: Numerical Data conversion to Scientific Values doesn't occur unless specified by the author in a String Format.
Expected Results: Numbers are not changed by Studio from what the user has input into the field.

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-05-03 19:08 dstewart New Issue
2024-05-03 19:08 dstewart Priority normal => low
2024-05-06 13:19 jsantos Assigned To => jsantos
2024-05-06 13:19 jsantos Status new => assigned
2024-05-06 13:20 jsantos Target Version => Studio_Alpha
2025-04-02 11:09 sfernandez Target Version Studio_Alpha => Studio_Beta