11-27-2018 09:02 AM
A field is coming as a number from source and we want to convert it to string, but the output format is different for some records. Follwoing 4 records have WSH value of 0 but after toString(), out is ‘0’ for 2 records and ‘0.0’ for the other 2
11-27-2018 02:39 PM
You might want to use the toFixed() method. That will give you more control of what the resulting string looks like.
11-30-2018 05:35 AM
Thanks!!. it worked