Float to Hexadecimal
Hi all,
I need to convert a simple float include between 0 and 1 (only positive) like as 0,1234567 to hexadecimal (0x00000000).
Anyone who have an idea (like as function), please lets me know ![]()
Ciao, art.chrome
Hi all,
I need to convert a simple float include between 0 and 1 (only positive) like as 0,1234567 to hexadecimal (0x00000000).
Anyone who have an idea (like as function), please lets me know ![]()
Ciao, art.chrome
Muppet Mark , Harbs,
Thanks, it's better way/solution for this post
and also i don't try to reply it, though my title post seems similar ![]()
make "saveSwatches" function for Illustrator is probably useless and probably you're right. But this is an exemple / illustration of that i mean by convert Float to hexa. "saveSwatches" for illustrator is more a reason / pretext to approach :
ASE file format
read/write with none ASCII (so.. hexa / binary)
learn more on float / hexa / decimal
..than other things
So.. you seems suggest that is too heavy / fastidious / re-inventing the wheel.. and not accurate (on this point, i don't work with high degree of accuracy).. fine ![]()
So make a table of precalculated values should be better ? another suggestion ?
Regards, art.chrome
a little man who makes laugh experts!![]()
art, i do not understand anything here.
likewise this:
http://jsfromhell.com/classes/binary-parser
so, maybe this is useful for you
Chris
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.