Sign in to follow this  
Followers 0
Christopher Blue

Best way to add a leading zero to Round()?

6 posts in this topic

I wish to round a floating point off to one decimal place but I wish to have a floating zero. What is the best way to do this?

Share this post


Link to post
Share on other sites

Crap...thread title should say "floating" instead of "leading". :idiot:

Share this post


Link to post
Share on other sites

Yes but Round doesn't pad a zero. I need to pad a zero.

Share this post


Link to post
Share on other sites

That's a good way of doing it! Thanks CyberSlug!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0