PDA

View Full Version : CGI %d, %2, etc.


hamboy
03-01-2006, 07:56 PM
Hi, I'm new to cgi

i saw these %d, %2.0, %2.2 stuff and i was wondering what they were / whawt they meant....


print Test1::"%2.2f,"
print Test2::"%2.2f,"
print Test3::"%2.2f,"
print Test4::"%d,"

FishMonger
03-01-2006, 08:18 PM
Run these to commands.

perldoc -f printf
perldoc -f sprintf