Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 13537

Alert show only two decimal places

$
0
0

What I need to do, to the alert shows only 2 decimal places.

For example:

 

Variable: Statistic data: ${StatisticData}

 

Result: Statistic data: 5,84696769714355

 

 

I need that show only 2 decimal places


Viewing all articles
Browse latest Browse all 13537

Trending Articles



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