Where To Add Utilities Functions

Hi, I need to create a library function.

And I can’t figure out where is the right place?

Extensions ? Componnent ?

The function/class will convert numbers to letter ( 100 -> one hundred )

I have allready the code developed.

Any suggestion will be appreciated.

Best Regards

Nicolas

Component would be best place to create Utilities function. Create one component class there and place your method inside that class.

Now you can easily call that method by creating instance of your utility class. :)