Typscript -Nummer zu Hex String

var g: number = 255;
alert(g.toString(16));
Knerbel