dreadedmonkeygod . net

WTF

Here's a bit of code from the JSP I'm working on (originally all on one line):
$<%= ((((float)((Math.round(((float)(total*100))))*(0.01))+"")
    .substring(((float)((Math.round(((float)(total*100))))*(0.01))+"")
    .indexOf(".")+1).length())==1)
? (float)((Math.round(((float)(total*100))))*(0.01))+"0"
:(float)((Math.round(((float)(total*100))))*(0.01))+""%>

I haven't the words.

Post a Comment

Name:
Email (Never, ever displayed.)
URL:
Remember me next time.
Comments (Sorry, no HTML allowed. Space paragraphs with a blank line.):