Aright, what’s up with this? This code using a double works just fine: double myDouble = 2.2; NSLog(@"myDouble %f", myDouble); [self testDouble:myDouble]; - (void) testDouble:(double)myDouble { NSLog(@"testDouble %f", myDouble); } This code prints: myDouble 2.200000 testDouble 2.200000 No surprises there. But the same code using a float behaves very strangely: float myFloat = 3.3; NSLog(@"myFloat [...]
-
Recent Posts
- OpenLaszlo Syntax Highlighting for MacVim/Vim
- Sprint vs AT&T vs Verizon iPhone Speed Test
- Lauren Ipsum: CS Fiction for Kids
- Udemy Class: JavaScript for Programmers
- How I got an external service to talk to my local Rails server
- Mobile Lean UX
- Rack for Easy HTTP redirect
- remarkable validations for rails 3
- Test Driven Development at Blazing Cloud
- Client Side Validations
- New Betting Sites Uk
- Migliori Casino Online