It shouldn't be too hard to get what you want using mootools built-in
number natives:
http://mootools.net/docs/Native/Number

I'm sure a simple class could be created to add extra functionality.

Dimitar Christoff wrote:
> I need to do some work to with altering money amounts live on-screen,
> dependent on various user controlled options (delivery costs, vouchers,
> carbon offset and currency choice), probably needing to cast data types
> from innerHTML-read strings.
>
> Is there a class that can allow me to deal with floats / money
> formatting maths, possibly currency signs outputs, or at least precision
> rounding like php's number_format or printf etc?
>
> does not need to be a mootools-specific class, searching this group for
> money results in tons of spam :)
>
> Cheers

Reply via email to