"Evertjan." wrote:
>JScript: Math.floor(290/100)
or:
(290/100)|0
Sigh. Or any of these:
parseInt(290/100,10)
Math.pow(2,Math.floor(Math.log(290/100)/Math.LN2))
String(290/100).replace(".","").length
As I said, the question can be interpreted many ways. The OP didn't even
suggest what -290/100 should yield.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.