Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

What does the plus sign after certian items mean? i.e. ""+Math.round(+s);

$
0
0

Hello,

 

I was wondering what the plus sign does in the following line of code:  ""+Math.round(+s);

 

 

What does it do to +s ?

What does it do to +Math.round ?

 

 

 

Thanks

 

 

 

Linda


Viewing all articles
Browse latest Browse all 12130

Trending Articles



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