Golden mean calculator for a given length of time

/ Published in: PHP
Save to your folder(s)

This little bit of code is a calculator of the "golden mean" of a given length of time. For example: given a length of 1 minute and 0 seconds, the answer given will be 0:00:37. See U2's "With or Without You", the Greek Parthenon, the human body, etc.
Substitute your own preferred method of input filtering.
I am just a PHP amateur so don't hate on my code!


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.