🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.perl
2 messages
2 total messages Started by Bart CZARnobyl Sat, 12 Apr 1997 22:28
format szmalu...
#166
Author: Bart CZARnobyl
Date: Sat, 12 Apr 1997 22:28
29 lines
1338 bytes
	Czesc
Mam taki problem:
chce zeby formatowalo mi pieniadze w ten sposob: 
1234567.1234 zlotych jako: "1 234 567.12".
Nie wie ktos jak to zrobic najprosciej ?

w 'perlform' pisze ze mozna formatowac po kropce dziesietnej ze znaczkiem
'#' - ale niestety nie mozna tych znaczkow '#' rozdzielac, np:

-----------------------------------
format moj=
@### ### ###.##|@<<<<<<<<<
$szmal,$data
.

$szmal=1234567.1234;
$~ = moj;

write;
------------------------------------
nie za bardzo dziala.... 

Czy ktos mial taki problem moze ?


-- 
Bartek Czardybon
PiK-Net Sysadm
http://www.silesia.pik-net.pl/~czar
Re: format szmalu...
#167
Author: Tomasz Pilat
Date: Thu, 17 Apr 1997 18:22
13 lines
1342 bytes
In pl.comp.lang.perl Bart CZARnobyl <czar@o1.mak.polsl.gliwice.pl> wrote:
> chce zeby formatowalo mi pieniadze w ten sposob: 
<OFFTOPIC>
Osobiście najbardziej lubie szmal w formacie 100x100$ :>

> Bartek Czardybon
Poncki
-- 
 ______                    __     __
|   __ \.-----.-----.----.|  |--.|__|       Tomasz "Poncki" Piłat
|    __/|  _  |     |  __||    < |  |           poncki@irc.pl
|___|   |_____|__|__|____||__|__||__|        IRCNET IRC-OPerator
http://ajax.umcs.lublin.pl/~poncjusz/     http://lublin.irc.pl/~ircd/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads