Autoit Fanclub
»
Autoit
domanda...
«
Older
Newer
»
Share
erma96
Posted on
25/6/2009, 08:38
Stò cercando di creare un hex-rgb converter, e avrei bisogno che dopo aver effettuato una divisione, il programma non riportasse i numeri dopo la virgola.
Es. 14/8= 1,75 e lui me lo fa diventare 1
sapete se è possibile?
I.Ren
Posted on
25/6/2009, 09:11
semplice! usa la funzione Int.
esempio:
CODICE
$numero =1,51231231232
$int = Int($numero)
MsgBox(0,'',$numero&@cr&$int)
erma96
Posted on
26/6/2009, 09:32
grazie mille!
2 replies since 25/6/2009, 08:38
47 views
Share
Autoit
Jump
------------
Nuovi utenti
Consigli allo staff & problemi
- Affiliazioni
Comunicazioni dello staff
- Comunicazione ban e richiami
Progetti
Programmi
UDF
Autoit
C/C++
PHP/MySQL
Python
Visual basic (.NET) / C#
Java
Altro
Mobile
Hacking / Sicurezza
Games
Guide
Contest Ed Esercizi
Grafica
- Contest
Hardware / Elettronica
Staff
- Admin
Off topic
- Musica
- Spam
Cestino
Create your forum
and your blog!
·
Top Forum
·
Categories
·
Help
·
Status
·
Contacts
· Powered by
ForumCommunity