Re: lug-bg: edin wypros ot PERL
- Subject: Re: lug-bg: edin wypros ot PERL
- From: velikov@xxxxxxxxxxxx (Peter Velikov)
- Date: Sun, 29 Oct 2000 03:02:35 -0800
int ( [EXPR] )
Category: Math
Return Value: SCALAR, the integer portion of EXPR.
Definition: Chops of any fractional part of EXPR or $_ if no
expression is specified.
For example, int(21.45) would return 21.
Dano sam ti pomognal.
Pozdrawi, Peter
----- Original Message -----
From: "Ivan Filipov" <vanka12@xxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Saturday, October 28, 2000 11:28 PM
Subject: lug-bg: edin wypros ot PERL
> Zdrawejte,
> kak moga na Perl da polucha samo cqlata chast ot
> rezultata na delenie na dwe ne mnogo golemi chisla ?
> primerno $a=6; $b=5; $c=$a/$b; trqbwa mi samo cqlata
> chast ot rezultata w $c. S $c=$c%5 - da kavem
> (modulirane) ne mi wyrshi rabota.
> Ivan.
>
_______________________________________________________
Free e-mail by Bulgaria.com at http://mail.bulgaria.com
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|