Webtags (preserving history): Difference between revisions

m
Line 100: Line 100:
=Output 'format' Parameter=
=Output 'format' Parameter=
=== Output (format modifier) parameters for decimal places ===
=== Output (format modifier) parameters for decimal places ===
*<tt>dp=i</tt> is used for both Cumulus 1 and MX. The value '''i''' following the attribute '''dp''' is an integer, how many decimal places you want for the output you see.
*<tt>dp=i</tt> is used for both Cumulus 1 and MX. The value '''i''' following the attribute '''dp''' is an integer, how many decimal places you want for the output you see. Only available for a limited range of web tags (including in MX <#MoonPercent> and <#MoonPercentAbs>).
*<tt>tc=y</tt> is a new parameter for MX, the attribute '''tc''' takes the value 'y' to remove decimal places by truncation instaed of using <tt>dp=0</tt> which would round to nearest integer. e.g. <#MoonAge tc=y>. At present not available in any other web tags.
*<tt>tc=y</tt> is a new parameter for MX, the attribute '''tc''' takes the value 'y' to remove decimal places by truncation instaed of using <tt>dp=0</tt> which would round to nearest integer. e.g. <#MoonAge tc=y>. At present not available in any other web tags.


5,838

edits