jaberwacky 327 Posted September 3, 2011 (edited) It seems strange to me but then my .net skills are severely lacking. The language is c#. The method was found inside of a string class for a scripting language editor. public static explicit operator String(long i){ return new String(((int)(uint)i).ToString());} It seems to me that when the long is cast to a uint and then to an int a lot of information will be lost. Edited September 3, 2011 by LaCastiglione Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Share this post Link to post Share on other sites
jvanegmond 306 Posted September 3, 2011 Pretty dumb method. Should be: public static explicit operator String(long i) { return i.ToString(); } Lol. github.com/jvanegmond Share this post Link to post Share on other sites
jaberwacky 327 Posted September 3, 2011 That's what I was thinking. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Share this post Link to post Share on other sites