This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Perl and the fly likes perl help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Languages » Perl
Bookmark "perl help" Watch "perl help" New topic

perl help

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 776

I have a string which represents money amounts.

e.g. 111996 is equivalent to 1119.96

What's the fastest way to convert this into a double scalar ?




Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
$amount / 100

- Peter
wood burning stoves
subject: perl help
It's not a secret anymore!