View Single Post
  #2   Spotlight this post!  
Unread 15-01-2007, 19:54
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Floating Points and rounding

Quote:
Originally Posted by Uberbots View Post
float PAN_DEGREE = (160.0f / 180.0f);
Hmm, I use (for example):
Code:
double PAN_DEGREE = whatever
I didn't even know "float" was a data type! C is obviously not my native language; VB6 is. Which has more resolution? Forget it, I'll Google it.

I didn't know about the "f" after the numbers after, but I'd seen that at some point...can't remember where.

Thanks, I'll use some of that in my code!

JBot
__________________
Aren't signatures a bit outdated?