KingOfCsTokat

HiperOyun.Net Cs 1.6 Serveri açıldı. 85.153.14.112

SAYI YUVARLAMA

Cevap Gönder  Konu Gönder 
SAYI YUVARLAMA
04-22-2008 03:02 PM SAYI YUVARLAMA
macomil
Üye
*
Üye

Üye Bilgileri
Rütbe : Üye
Nerden : istanbul
Mesaj Sayısı : 272
Açtigi Toplam Konu: 37

macomil is Çevrimdışı


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı: 71

Hızlı Mesajlaşma

Mesaj: #1

SAYI YUVARLAMA



Bİr SAYIYI NASIL TAM YAPARIM
MESELA
24.34 = BUNU 24 YAPICAK


04-22-2008 03:02 PM
Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
.












|


04-22-2008 06:17 PM RE: SAYI YUVARLAMA
YingYoyo
Cezalı Üye


Üye Bilgileri
Rütbe : Cezalı Üye
Nerden : Trabzon
Mesaj Sayısı : 404
Açtigi Toplam Konu: 38

YingYoyo is İzinli


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı:

Hızlı Mesajlaşma

Mesaj: #2

SAYI YUVARLAMA



tam anlamadım yada anlatamadın???

YingYoyo`un Imzasi:HiperOyun.Net # Yeni üye
İmzanızı değişdiriniz.
04-22-2008 06:17 PM
Web Sayfasını Ziyeret Edin Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
04-22-2008 06:31 PM RE: SAYI YUVARLAMA
Gm_Emre
Üye
*
Üye

Üye Bilgileri
Rütbe : Üye
Nerden :
Mesaj Sayısı : 55
Açtigi Toplam Konu: 7

Gm_Emre is Çevrimdışı


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı: 79

Hızlı Mesajlaşma

Mesaj: #3

SAYI YUVARLAMA



"round" ile yapabilirsiniz.

///Create Event:
sayi=round(24.34); //
///Draw Event
Draw_text(10,10,sayi) // Ekrana sayiyi yazdır.

Sonuç;
24


Bu mesaj içinde bulunan Linkleri görmek için üye olmalısınız.(Register to see the Links)Lütfen Önce KAYIT (Register) olun.
04-22-2008 06:31 PM
Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
04-22-2008 06:44 PM RE: SAYI YUVARLAMA
I"msorry
2∂-Gαмємαкєя
*****
Moderator

Üye Bilgileri
Rütbe : Moderator
Nerden : 찾을 수 없습니
Mesaj Sayısı : 1,480
Açtigi Toplam Konu: 199

I"msorry is İzinli


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı: 214

Hızlı Mesajlaşma

Mesaj: #4

SAYI YUVARLAMA



YingYoyo sen YingYang'sın her iddasına varım msnde kendini çevirmdışı gösteriyosun sonra napsam ve emonzdan +25er rep istiyosun yuh be


MAĞARA YAKINDA sİZLERLE!![çizimler tamamen bana aittir]
04-22-2008 06:44 PM
Web Sayfasını Ziyeret Edin Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
04-22-2008 07:43 PM RE: SAYI YUVARLAMA
streetgm



Üye Bilgileri
Rütbe : Cezalı Üye
Nerden :
Mesaj Sayısı : 550
Açtigi Toplam Konu: 111

streetgm is Çevrimdışı


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı:

Hızlı Mesajlaşma

Mesaj: #5

SAYI YUVARLAMA



I"msorry Yazılan:
YingYoyo sen YingYang'sın her iddasına varım msnde kendini çevirmdışı gösteriyosun sonra napsam ve emonzdan +25er rep istiyosun yuh be

güzel fikir Alkis Alkis Alkis Good
Alkis Bravo


04-22-2008 07:43 PM
Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
04-23-2008 12:05 AM RE: SAYI YUVARLAMA
xantier_v10
Ezik üye


Üye Bilgileri
Rütbe : Cezalı Üye
Nerden :
Mesaj Sayısı : 116
Açtigi Toplam Konu: 3

xantier_v10 is Çevrimdışı


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı:

Hızlı Mesajlaşma

Mesaj: #6

SAYI YUVARLAMA



Kaynak gmaker.doc : (by Mark Overmars)

random(x) Returns a random real number between 0 and x. The number is always smaller than x.
random_set_seed(seed) Sets the seed (an integer) that is used for the random number generation. Can be used to repeat the same random sequence. (Note though that also some actions and the system itself uses random numbers.
random_get_seed() Returns the current seed.
randomize() Sets the seed to a random number.
choose(val1,val2,val3,...) Returns one of the arguments choosen randomly. The function can have up to 16 arguments.
abs(x) Returns the absolute value of x.
sign(x) Returns the sign of x (-1, 0 or 1).
round(x) Returns x rounded to the nearest integer.
floor(x) Returns the floor of x, that is, x rounded down to an integer.
ceil(x) Returns the ceiling of x, that is, x rounded up to an integer.
frac(x) Returns the fractional part of x, that is, the part behind the decimal dot.
sqrt(x) Returns the square root of x. x must be non-negative.
sqr(x) Returns x*x.
power(x,n) Returns x to the power n.
exp(x) Returns e to the power x.
ln(x) Returns the natural logarithm of x.
log2(x) Returns the log base 2 of x.
log10(x) Returns the log base 10 of x.
logn(n,x) Returns the log base n of x.
sin(x) Returns the sine of x (x in radians).
cos(x) Returns the cosine of x (x in radians).
tan(x) Returns the tangent of x (x in radians).
arcsin(x) Returns the inverse sine of x.
arccos(x) Returns the inverse cosine of x.
arctan(x) Returns the inverse tangent of x.
arctan2(y,x) Calculates arctan(y/X), and returns an angle in the correct quadrant.
degtorad(x) Converts degrees to radians.
radtodeg(x) Converts radians to degrees.
min(val1,val2,val3,...) Returns the minimum of the values. The function can have up to 16 arguments. They must either be all real or all strings.
max(val1,val2,val3,...) Returns the maximum of the values. The function can have up to 16 arguments. They must either be all real or all strings.
mean(val1,val2,val3,...) Returns the average of the values. The function can have up to 16 arguments. They must all be real values.
median(val1,val2,val3,...) Returns the median of the values, that is, the middle value. (When the number of arguments is even, the smaller of the two middle values is returned.) The function can have up to 16 arguments. They must all be real values.
point_distance(x1,y1,x2,y2) Returns the distance between point (x1,y1) and point (x2,y2).
point_direction(x1,y1,x2,y2) Returns the direction from point (x1,y1) toward point (x2,y2) in degrees.
lengthdir_x(len,dir) Returns the horizontal x-component of the vector determined by the indicated length and direction.
lengthdir_y(len,dir) Returns the vertical y-component of the vector determined by the indicated length and direction.
is_real(x) Returns whether x is a real value (as opposed to a string).
is_string(x) Returns whether x is a string (as opposed to a real value).


Ezik üye

İp numarası : 78.176.10.212
04-23-2008 12:05 AM
Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
04-23-2008 08:30 AM RE: SAYI YUVARLAMA
keremc95
Game Maker Editörü
*****
Moderator

Üye Bilgileri
Rütbe : Moderator
Nerden :
Mesaj Sayısı : 516
Açtigi Toplam Konu: 50

keremc95 is Çevrimdışı


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı: 95

Hızlı Mesajlaşma

Mesaj: #7

SAYI YUVARLAMA



Xantier çok saol +7 rep!!


Hiperoyun.net # Moderatör
04-23-2008 08:30 AM
Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
04-23-2008 12:44 PM RE: SAYI YUVARLAMA
macomil

*
Üye

Üye Bilgileri
Rütbe : Üye
Nerden : istanbul
Mesaj Sayısı : 272
Açtigi Toplam Konu: 37

macomil is Çevrimdışı


Rep Bilgileri (Karizma)
Rep Verin:

Rep Puanı: 71

Hızlı Mesajlaşma

Mesaj: #8

SAYI YUVARLAMA



Gm_Emre Yazılan:
"round" ile yapabilirsiniz.

///Create Event:
sayi=round(24.34); //
///Draw Event
Draw_text(10,10,sayi) // Ekrana sayiyi yazdır.

Sonuç;
24


saol


04-23-2008 12:44 PM
Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
Cevap Gönder 

[ Tags: ]

Yazdırılabilir Bir Versiyon Görüntüle
Bu Konuyu Bir Arkadaşına Gönder
Bu Konuya Üye Ol | Konuyu Favorilerime Ekle

Forum Geçişi