Need a special offer?Find out if your project fits.
+

Flexmonster show string data as number and add extra decimal part

Resolved
Serkan asked on April 3, 2020

Dears,
Flexmonster shows string data "3370148020134001" as number with a decimal part-> (3 370 148 020 134 001.5) 
Please check the example below:
http://jsfiddle.net/sekoooy/3ynowtm4/10/
 
If we add dataTypes, issue will fixed but our data is dynamic data and we are not sure how many columns will be in data. 
 
Best regards,
Serkan

4 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 3, 2020

Hello, Serkan,
 
Thank you for reporting about the problem.
 
The fix is going to be provided with a minor update ETA Apr 20.
 
Also, we would like to kindly inform you that data types can be defined in the meta-object of the data set passed to Flexmonster. Therefore, it can be generated dynamically with the rest of the data set.
 
In case you are using JSON, the meta-object is represented as the first element of an array.
For example, the following code snippet can be used as a template in order to define data types for the data set used in your example:

{
  "ProductSerialNo": {
    "type": 'string'
  },
  "DataCollectionTime": {
    "type": 'date string'
  }
}

 
We have modified an example you have provided in the way it uses the meta-object. You are welcome to see an example by the link.
 
We hope it helps.
Please contact us in case additional questions occur.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 23, 2020

Hello, Serkan,
 
We are happy to let you know that the issue with an odd decimal part for large integers was fixed.
 
This is provided in the 2.8.5 version of Flexmonster: https://www.flexmonster.com/release-notes/
 
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/
 
Please let us know if everything works fine for you.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 26, 2020

Hello,
 
We want to take an interest in whether our fix helped to resolve the issue.
 
Our team is looking forward to hearing from you.
 
Best regards,
Illia

Public
Serkan May 27, 2020

Hello Illia,
 
I confirmed that the fix resolves our issue. Thank you!
 
Best regards,
Serkan
 

Please login or Register to Submit Answer