I agree with QD, you have to be very clear when you post a question, we are not mind readers. I had to read 5-6 posts to get to the language you were looking for.
Use the PREVIEW POST option and re-read you post before you submit it. We have no idea what project you are working on, what software you are using (Cold Fusion, FrontPage, etc.), or what language the output is being generated from (PHP, CGI, JavaScript, etc.).
Plus you posted in a forum geared torards CSS/DHMTL and expect us to guess you had a JavaScript question.
So yes, you were vague, then you were rude. Luckily we are very cool people that forgive easily.
Either way, here is your script:
Code:
<SCRIPT LANGUAGE='JavaScript'>
<!--
x = 23556.235662;
x = x * 100;
x = Math.round(x);
x = x / 100;
document.write(x);
// -->
</SCRIPT>
Mike Barone
FREE CGI/Perl Scripts & JavaScript Generators
Ace PopUp Generator Software - Totally FREE