It seems to yield what I am looking for but I'm wondering if it could possibly induce strange bugs or have undesired behavior. Thank you.
            Asked
            
        
        
            Active
            
        
            Viewed 41 times
        
    0
            
            
        - 
                    1For information, you may want to read: http://stackoverflow.com/questions/4055633/what-does-double-tilde-do-in-javascript – David Thomas Feb 28 '17 at 13:46
- 
                    2It will definitely introduce some WTF's. Just use regular `Math.floor`. **Explicit is better than implicit.** – Kamil Latosinski Feb 28 '17 at 13:46
- 
                    Thank you @DavidThomas, I found what I needed in your link ! – raphaelSeguin Feb 28 '17 at 13:57
- 
                    @KamilLatosinski Math.floor doesn't return the entire part for negative numbers. Thanks anyway, your true about explicitness. – raphaelSeguin Feb 28 '17 at 14:00
 
    