- Home /
 
               Question by 
               Akin · Jan 24, 2012 at 08:40 PM · 
                javascriptfloatdecimal  
              
 
              Javascript rounding off a decimal
Hello guys, I am working on a car game app for iPhone, we are simulating the driving conditions under BAC; so I m trying to keep the BAC value between 0.010 to 0.10; we are having an option to change the BAC value while playing/driving the car. please suggest some methods to roundOff, and have the boundary values as listed.
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
print to only two decimal places. 2 Answers
how to limit how far a float goes back 1 Answer
Javascript int to float 1 Answer
Error: "ArgumentException: get_deltaTime can only be called from the main thread" 1 Answer
comma on PC - dot on Mac 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                