Advertisement
Guest User

Untitled

a guest
Sep 29th, 2011
2,847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Change:
  2. ~~~~~~~~
  3. -- quick copies of string representations of wonky numbers
  4. local serNaN = tostring(0/0)
  5. local serInf = tostring(1/0)
  6. local serNegInf = tostring(-1/0)
  7. ~~~~~~~~
  8.  
  9. To:
  10. ~~~~~~~~
  11. -- quick copies of string representations of wonky numbers
  12. local serNaN = tostring(0)
  13. local serInf = tostring(1)
  14. local serNegInf = tostring(-1)
  15. ~~~~~~~~
  16.  
  17. AND
  18.  
  19. Change:
  20. ~~~~~~~~
  21. if tonumber(str)==v or str==serNaN or str==serInf or str==serNegInf then
  22. ~~~~~~~~
  23.  
  24. To:
  25. ~~~~~~~~
  26. if tonumber(str)==v then
  27. ~~~~~~~~
  28.  
  29.  
  30.  
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement