i know that 6/5 returns 1
and 6/5.0 returns 1.2
but suppose i am defining n=6 and d=5, i want n/d to return 1.2 instead of 1, how do i do it?
abhigyan91 0 Newbie Poster
abhigyan91 0 Newbie Poster
scru 909 Posting Virtuoso Featured Poster
sravan953
snippsat 661 Master Poster
sravan953
bumsfeld 413 Nearly a Posting Virtuoso
bumsfeld 413 Nearly a Posting Virtuoso
sravan953
sravan953
scru 909 Posting Virtuoso Featured Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
abhigyan91 0 Newbie Poster
shadwickman 159 Posting Pro in Training
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.