Format text in button

Would it be possible to include format for the button object?
I have a set of records containing numbers that are showed in portal and have action script linked to them but cannot format them (i.e. as currency value).

It is possible to use : utils.numberFormat(number,digits) in a calculation and show that calculation on a button.

And, you can also perform such calculation with my plugin.

You can then completely format the number like:

return plugins.tools.numberFormat(number, “#,###,##0.00”)