Editing %d

Posted by Zunit1920 on Mon 12 Dec 2005 02:36 AM — 4 posts, 18,041 views.

#0
How would i go about editing %d/%s/%f used in this situation

pager_printf_color( ch, " &z[&g%d&w/&G%d&z]", obj->value[4], obj->value[5] );


This has nothing to do with my last post
USA #1
Ok, I'm confused, what are you trying to edit the %d for? Are you changing the values to non-integers?
#2
well its mainly %f i wanna edit, right now it is a numbers intiger and it has 6 decimals no matter what and i wanna change it to have 2

right now:
2.100000

I want:
2.10

Get what im saying?

I just need the file that i would change that in
Australia Forum Administrator #3
Change %f to %.2f