Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: přesnost čísel  (Read 2885 times)

0 Members and 1 Guest are viewing this topic.

Siky

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 41
    • View Profile
přesnost čísel
« on: December 17, 2006, 05:35:17 PM »

Lze nějak nastavit přesnost zobrazování čísel ve STATICu? Např. na 4 des. místa?
Chci zobrazic celé číslo a ono mi to přidává desetinnou tečku a hromadu nul.
dík
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: přesnost čísel
« Reply #1 on: December 17, 2006, 06:52:41 PM »

Presnost nastavit nelze, ale prevest desetinne cislo na cele lze:

Static.Text = ToInt(DesetinneCislo);
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.082 seconds with 20 queries.