1
Est-il possible de convertir un nombre entier en code hexadécimal à 6 chiffres? Dans AS3 j'avais API natifComment convertir Int en chaîne hexagonale?
var color:uint = 0xFF00FF;
trace("Color #" + color.toString(16)); //Color #ff00ff
Est-ce que Haxe a une telle fonctionnalité dans la bibliothèque standard?
Merci beaucoup. C'est exactement ce que je me demandais. – kolonitsky
Vous pouvez marquer la réponse comme acceptée: http://stackoverflow.com/help/accepted-answer – Gama11