Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Format string...
#4
Exactly what I need.

Function Function54
Code:
Copy      Help
out
int i=122
str s.format("%x%i" i/10 i%10)
out s

I didn't think of dividing by 10 like that and then didn't know you could grab 10%...nice work.

Thanks,
Jimmy Vig


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)