I am working on a ProcessFlow that uses an SQL Query Node to query the PERSACTION table. Two of the New_Value_## fields the query is referencing are the values for Rate of Pay and FTE. The values are stored in the table without decimals. For example Rate of Pay is stored as 000000000032050000+ and FTE as 000000000000900000+ . Using Javascript I am trying to find a way to format these values so that my ProcessFlow could use these values in their valid/correct decimal format.
Any suggestions?
Hi David,
Your suggestion does not format the values correctly. Rate of Pay value 000000000032050000+ needs to be formatted to look as 32.050000 and FTE value 000000000000900000+ as .900000 .
Output new FTE
Original Table Value
Here is a cut and paste example of an actual SQL command run I just did
Output New Rate
38.8244
Original Table Format
000000000038824400+
You just would need to change the new_value_02 to whatever new_value_## you are pulling from.