Posts Tagged ‘nothing’

doubleval vs floatval in php

Monday, July 14th, 2008

Both these functions allow you to quickly pick a float, or double, out of a string.

doubleval vs floatval
doubleval: 4.56571412086 seconds
floatval: 4.35375285149 seconds
Time saved: 0.211961269379 seconds; 4.8684727087%

4% or 211 nanoseconds is next to nothing. I would want to use floatval but I wouldn’t exactly be kicking myself if I slipped a doubleval into my code instead.

What can you do?

Wednesday, June 25th, 2008

* Test your site’s usability with your users.
If you do nothing else to improve your site, this would be the best thing.

* Focus on your content.
Content will get people to your site and give them the information so they keep coming back.

* Put lots of links on your site so that your readers can navigate as easily as possible.
What is intuitive to you might be unclear to me, so give your readers a lot of different ways to get to the information on your site.

* Don’t believe everything you read or hear.
Just because I’ve written this article and UIE did their study, doesn’t mean that the results will apply to your readers. Find out, from them, what works for your site.