Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

How to sort value in arrays

$
0
0

Hi Supers,

 

If a have a float array, for ex. var Arry1=[8900,421,366.20,550.19], how can I sort the values in result like:

 

366.20, 421, 550.19, 8900

 

I know there's a for each for array, I tried some way but didn't work out,  how to code to sort them?

 

Thank you very much!


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>