CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: General Discussions: General Questions: Perl float point equations.: Edit Log

New User

Jun 23, 2009, 6:39 AM

Views: 6742
Perl float point equations.

Hi Guys.

I cannot seem to get the following equation work in perl.

it says cnanot divide by 0, i know that perl converts decimal numbers to a int.

but whats the work around to this?.

my $x = 60/(10/4

(This post was edited by TIGA on Jun 23, 2009, 6:43 AM)

Edit Log:
Post edited by TIGA (New User) on Jun 23, 2009, 6:40 AM
Post edited by TIGA (New User) on Jun 23, 2009, 6:43 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives