Skip to main content
gamedev.net
🔒 Locked

truncating a variable

Started by Julio Jan 4, 2003 at 10:24 AM 1 replies 150+ views
Original Post
Julio
Julio
howdy, I was wondering if it''s possible in any way to truncate a double variable to just two decimal places. example: 112.0123564 needs to be 112.01 rounding is not neccessary. it''s for retarded a compsci sci assignment. thanks, Joe My Homepage Freeservers.com sucks. Angelfire.lycos.com is cool.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Julio
Julio
cool, thanks man.

My Homepage
Freeservers.com sucks. Angelfire.lycos.com is cool.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.