Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (NnamueN, 1 invisible), 1,489 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Wie stelle ich Hitpoints im Panel (digit) ohne ... #136891
06/17/07 18:27
06/17/07 18:27
Joined: Nov 2005
Posts: 112
M
miez Offline OP
Member
miez  Offline OP
Member
M

Joined: Nov 2005
Posts: 112
Wie stelle ich Zahlen(Hitpoints) in einem Panel (digits) ohne Nachkommastellen dar?
Die darzustellende Zahl ist mit der Int()-Funktion ganzzahlig gemacht und trotzdem steht auf dem Bildschirm statt " 100 " immer " 1000 ".
Ändert sich die Zahl, steht dort entweder " 120.0 " oder " 1200 ", je nachdem wie ich die Zahl in Digits verändere, die das Format angibt.

Re: Wie stelle ich Hitpoints im Panel (digit) ohne [Re: miez] #136892
06/17/07 18:37
06/17/07 18:37
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Wie sieht denn dein digit element syntax aus?

digits(x,y,format,font,factor,var);

Solange du für "format" eine ganzstellige zahl hast sollten keine nachkommastellen angezeigt werden, darum meine bitte das du den code deines panels hier kurz postest.

Re: Wie stelle ich Hitpoints im Panel (digit) ohne [Re: Xarthor] #136893
06/19/07 15:24
06/19/07 15:24
Joined: Nov 2005
Posts: 112
M
miez Offline OP
Member
miez  Offline OP
Member
M

Joined: Nov 2005
Posts: 112
Hat sich erledigt.
Factor war falsch eingestellt.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1