I also tried Objective-C NSLog and the output is 2.99. I needed to fix it fast so I used following method: float n = 2.99499989f; float round ...
確定! 回上一頁