Remove useless zero digits from decimals in PHP?

I'm trying to find a fast way to remove zero decimals from number values like this: echo cleanNumber('125.00'); // ...

How do I format cents and dollars in C#? How do I convert one to the other??

If I have something written as 25 cents in either C# or Java, how would I convert that to read $.25? ...

How can I format decimal property to currency?

I want to format the value in the getter and return a formated currency value. Is this possible or do i need to dec...