Hi Guys,
I think I'm just missing how to implement this. Say I have two different classes. Class A, and Class B which reside in separate files. Objects in class A and class B can do certain things commonly like format a number to two decimals which is in a commons class. So how do you implement that?

So going back to my examples of class A and class B with a two decimal number formatter in a commons class.

What I want to do is make a call like this:
In class A
mynumber = twoDecimal(anumber);

Do you have to do an inhertance thing? When I do that it doesn't look quite the way I want it. It looks something like
mynumber = commons.twoDecimal(anumber)

I don't like the way that looks. Basically I'd just like a class or a file where I can stash common procedures and functions that can be used throughout my project.
Thanks.