I'm using the abs() function in a probability calculation using float and int variables however I'm getting error messages. What I'm trying to do is get a decimal answer using abs() but it appears to only accept integer variables? How do I get the abs() to give me a a 3 decimal place answer.
dallin 0 Newbie Poster
picogeek 0 Newbie Poster
Acidburn 0 Posting Pro
Dave Sinkula 2,398 long time no c Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Acidburn 0 Posting Pro
Dave Sinkula 2,398 long time no c Team Colleague
Acidburn 0 Posting Pro
Dave Sinkula 2,398 long time no c Team Colleague
Acidburn 0 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.