Template:Cents

From Xenharmonic Wiki
Revision as of 15:05, 29 October 2018 by Xenwolf (talk | contribs) (Xenwolf moved page User:Xenwolf/Template:Cents to Template:Cents: Ready to use. The only limitation is that danling zeros are currently not supported.)
Jump to navigation Jump to search

0 This template calculates the cent value of its first argument (defaults to 1). An optional second argument controls the precision, it defaults to 0 decimal places.

This is a temporary solution.

It doesn't care for dangling zeros, exactly following PHP's round function.