Let's say you're playing with a dashboard widget that deals with some large numbers you might want to compare. For some reason, you're not getting the result that you thought you would. For some reason really large numbers are breaking your if statements. Well, if you wanted them not to, you might want to wrap those numbers in Number() in the comparison. That seemed to work for me (yes, I really hope you'll get to see this widget soon - it's fun).
UPDATE: Apparently, I'm on crack because the above bug I mentioned apparently doesn't exist. I was trying to prove it with some test cases, and I can't recreate it, even with REALLY large numbers expressed as strings. So... ummm... sorry.
| Your Name: | |
| Your E-mail: | |
| Your Site: | |
| Your Comment: | |
You can use Textile formatting in your comments (but no HTML). Here's a quick cheatsheet:
This is the personal site and weblog of Kevin Lawver and Jen Lawver. The views expressed on this site are our's and not those of our family, friends or employers. license
Powered by: Movable Type
Hosted by DreamHost