I'm trying to write my first program in Objective-C/Cocoa/X project.
It simply calculates the light and ventilation provided by windows in a room according to the square footage of the room.
Everything is working except I only want to show 2 or 3 decimal places in the answers.
How do I accomplish this?
Thanks
It simply calculates the light and ventilation provided by windows in a room according to the square footage of the room.
Everything is working except I only want to show 2 or 3 decimal places in the answers.
How do I accomplish this?
Thanks