1,848
edits
[[File:Badge vMx.png]]From release 3.12.0, you can set the default number of decimal places to output for all derivatives of temperature, pressure, etc. by [[Cumulus.ini#Units.2C_Derivative_Options.2C_and_Decimal_Places|advanced settings]]. Those settings can force output as integers, in which case the parameter for controlling number of decimal places have no effect.
==== Two Output (format modifier) parameters for decimal places ====
Depending on tag name and release you are using, there may be two ways to control decimal places:
* <tt><#tag_name tc=y></tt>
===== Rounding to a
Use <tt>dp=i</tt> (the value '''i''' following the attribute '''dp''' is an integer, it represents how many decimal places you want for the output you see):
*# From release 3.10.5 (which did a big rewrite of web tag handling) any tag names that output as real numbers
===== Truncation of unwanted decimal places =====
<tt>tc=y</tt> is the truncation parameter, the attribute '''tc''' takes the value 'y' to remove decimal places by truncation. e.g. <#MoonAge tc=y>.
|