Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: how to format cell as text?

by nefigah (Monk)
on Mar 06, 2008 at 08:05 UTC ( #672392=note: print w/replies, xml ) Need Help??

in reply to how to format cell as text?

Hmm, for what it's worth, for me print seems to output that number just like that already. Do you have a little example you could paste?

Update: Maybe printf could help? Something like printf "%f", $huge_num;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://672392]
choroba's discovered two instances of a weird animal in the code at work: \@$var
[Eily]: hum, tied scalar, generates a new array when derefed ? :D
[Corion]: choroba: Ah, when doing a shallow copy, I prefer [ @$var ] - I think \@$var might return the same reference instead of a reference to a fresh copy

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-09-26 08:43 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (293 votes). Check out past polls.