Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Which of 2 numbers are closest to 0

$
0
0

Or this:

 

function minMagnitude(a, b) {    return Math.min (Math.abs(a), Math.abs(b))}

 

Peter


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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