[pmwiki-users] Formatting numbers

Marcus prima at wordit.com
Tue Jan 20 20:21:53 CST 2009


On Mon, Jan 19, 2009 at 9:26 PM, John Rankin <john.rankin at affinity.co.nz> wrote:

> Markup('fmtzero','inline','/([\d]+\.\d)(\s)/e',"'$1'.'0 '");

Thanks John, but I can't figure out how to use this on a specific line, e.g. as
(:fmtzero 1.5:)
to generate the output "1.50".


Marcus



More information about the pmwiki-users mailing list