Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Change:
- ~~~~~~~~
- -- quick copies of string representations of wonky numbers
- local serNaN = tostring(0/0)
- local serInf = tostring(1/0)
- local serNegInf = tostring(-1/0)
- ~~~~~~~~
- To:
- ~~~~~~~~
- -- quick copies of string representations of wonky numbers
- local serNaN = tostring(0)
- local serInf = tostring(1)
- local serNegInf = tostring(-1)
- ~~~~~~~~
- AND
- Change:
- ~~~~~~~~
- if tonumber(str)==v or str==serNaN or str==serInf or str==serNegInf then
- ~~~~~~~~
- To:
- ~~~~~~~~
- if tonumber(str)==v then
- ~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement