Template:Cents

From Xenharmonic Wiki
Revision as of 15:19, 29 October 2018 by Xenwolf (talk | contribs) (... commenting out is a bit complicated in templates - but now hopefully fixed)
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.