Variable problem [message #1716313] |
Wed, 02 December 2015 21:04 |
Hugo Araujo Messages: 9 Registered: June 2014 |
Junior Member |
|
|
Hello, i want to used a value from a data field from one table (Element id: 2882), its the 3ª table from the top, and used in another table (Element id: 2397), 4º table from the top.
I then create several variables, for example: total_soma_linha_6_nc_a
Then i went to this aggregation field (total_soma_linha_6_nc) that is in the 3ª table, on the onCreate method and put: vars["total_soma_linha_6_nc_a"]=this.getValue(); (the value is -2245,09)
Then i went to the this aggregation field (total_soma_linha_6_nc) in the 4º table and used it (row["total_linha6_nc"] (-6348,94) + vars["total_soma_linha_6_nc_a"] (-2245,09), but i get this ridiculous number -428425,86.
When it should -8594.03.
I try to put a parseFloat but with no sucess.
Help me
|
|
|
Powered by
FUDForum. Page generated in 0.02954 seconds